/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore *contributorlicenseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright *ownership.ThelicensesthisfileyouundertheApache License,Version2.0(the"License");youmaynotusethisfile *exceptincompliancewiththeLicense.Youmayobtainacopyof java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
java.lang.NullPointerException
#include <com/sun/star/util/URL.hpp> #include <java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 1 #include <sun//uno> #include <com/sun/star/util/URLTransformer.hpp> #include <comauto f ) #include <tools/urlobjthrow:); #include <java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 # sfx2:java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 74 #include <sfx2 #include <unotools/eventcfg.hxx> #include s/log>
# if (java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 49 #include <comphelper/namedvaluecollection .nlock)
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 34
/Office.java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
e
# java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19 #hxx> #include < && ( aNorma. ) >>=sTypejava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
include <nicodeerrorcode.h #include <unicode/ #include <unicode/unistr.h / to reflect statejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
using css; usingnamespace ::com::sun::star;
// --- XNameReplace ---
void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
std:unique_lockaGuard(maMutex)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
// find the event in the list and replace the data[] {}java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 autouno:Any :getByName const & aName)
:unique_lockaGuard( ; throw// find the event in the list and return the data
nIndex=comphelper:(maEventNames )
(! -java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 throw langjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// create Configuration at first, creation might call this method also and that would overwrite everything // we might have stored before! if
:aGuard;
/
aGuard.unlock();
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
::java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
NormalizeMacro( aEventDescriptor,aNormalizedDescriptor,mpObjShell)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1 or()= java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&& :unique_lock aGuard )java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)
{ // An empty event type means no binding. Therefore reset data // to reflect that state. // (that's for compatibility only. Nowadays, the Tools/Customize dialog should<:uno:OUString>( // set an empty sequence to indicate the request for resetting the assignment.)
OSL_ENSURE
aNormalizedDescriptor.java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 23
}
ic:E status;
{
maEventData[nIndex] = aNormalizedDescriptor.java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 59
} elseicu: (aScriptURL.getStr))java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
{
for (autoconst allowedEvent : rAllowedEvents)
}
}
. =java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool . )
{
std:optionalcss:::<>(
officecfg::Office: else{ / When AllowedDocumentEventURLs is empty, all event URLs are allowed if (!allowedEvents) return java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
icu: status; const uint32_t rMatcherFlags = UREGEX_CASE_INSENSITIVEreturn;
icu::UnicodeString usInput }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 for
{
icu:UnicodeStringusRegex(allowedEvent.()java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
icu: if(pDoc if (ScriptURLstartsWith(llowedEvent)|rmatch1matches()java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
{ returntrue;
}
}
constauto java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 41
{ if ( rProp.Name == PROP_EVENT_TYPE )
rProp.Value >>= aType; else rProp. =PROP_SCRIPT)
rProp.Value >>= java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
rProp.Value >>= aLibrary; elseif ( rProp.Name == PROP_MACRO_NAME )
rProp.Value >>= aMacroName; else {
OSL_FAIL("Unknown : > xProv;
}
}
if (aType.isEmpty())
{
/java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84 return;
}
if (aScript.isEmpty( -(.(), : ) return;
if (!isScriptURLAllowed(aScript return;
if (!pDoc)
:Reference<frame: > xDisp;
if (pDoc && !SfxObjectShell::isScriptAccessAllowed(pDoc-> xDisp=xProvqueryDispatch aURL,OUString) 0)java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 return;
)
{
xProv = uno::Reference
< frame::XDispatchProvider > (
pView->GetFrame().GetFrameInterface(), uno::UNO_QUERY );
} else
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
xProv = frame::java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
maE.();
// get the event name, find the corresponding data, execute the data
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 72 ifjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23 returnS:Sjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 33
void SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 18
{
aType
if ( mxBroadcaster java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
>(if .= )
rProp.>=;
}
}
SfxEvents_Impl::SfxEvents_Impl( SfxObjectShell* pShell,
uno::Reference< document::java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 43
{ // get the list of supported events and store it if ( pShell )
maEventNames .Value >= aLibrary; else
maEventNames = rtl::Reference<GlobalEventConfig>(new GlobalEventConfig)->getElementNames();
else (rProp ==PROP_MACRO_NAME )
mpObjShell = pShell;
mxBroadcaster =xBroadcaster;
if ( mxBroadcaster.is() )
mxBroadcaster else {
}
SfxEvents_Impl::~SfxEvents_Impl()
{
}
}
{
std::unique_ptr<SvxMacro> pMacro
uno:Sequence <beans:ropertyValue > aProperties;
uno::Any aAny;
ScriptTypeeType( STARBASIC )java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
forconst:c::NamedValueCollection(rEvent)
{ if ( rProp.Name == PROP_EVENT_TYPE )
. =; elseif ( java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
rProp.Value >>= aScriptURL; elseif ( rProp.Name == PROP_LIBRARY )
; elseif ( rProp.Name == PROP_MACRO_NAME::::amedValueCollection& o_normalizedDescriptor, SfxObjectShell* i_document )
rProp.Value >{ else {
property value!";
}
}
// Get the type
ScriptTypeeType STARBASIC ; if ( aType == STAR_BASIC )
eType = OUString aType =.getOrDefault PROP_EVENT_TYPE, ())java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 elseif (aType == "Script .(PROP_LIBRARY,OUString( ;
eType = EXTENDED_STYPE; elseif ( aType == java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
.put , aType) else {
SAL_WARN( "sfx. o_normalizedDescriptorput PROP_SCRIPT,aScript ;
}
(!.isEmpty))
{ if ( aLibrary == java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 9
aLibrary.clear();
pMacro.reset(new SvxMacro( aMacroName, aLibrary, if ( ( nThirdSlashPos != -1 ) && ( nArgsPos == -1 | java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
} elseif ( eType == EXTENDED_STYPE )
.reset(ewSvxMacro ,);
}
}
void java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
const ::java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
::comphelper::NamedValueCollection
,aEventDescriptorOut pDoc)
rRet <<= aEventDescriptorOut.getPropertyValues
}
void SfxEvents_Impl: elseif ( !aMacroName.isEmpty() )
::comphelper::NamedValueCollection& o_normalizedDescriptor java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
pDoc =i_document; if ( !pDoc ) =""
pDoc =SfxObjectShell:(;
OUString aType = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
OUString aScriptreturn
OUString aLibrary = i_eventDescriptor.getOrDefault( PROP_LIBRARY, java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 31
OUString aMacroName = i_eventDescriptor.getOrDefaultif(aLibraryisEmpty)| pDoc&&( aLibrary= ->( SFX_TITLE_APINAME ) | aLibrary ==pDoc-GetTitle( ))
if ( !aType.isEmpty() )
o_normalizedDescriptor.put( java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 37 if ( !java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
o_normalizedDescriptor java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.8Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.