/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ java.lang.StringIndexOutOfBoundsException: Range [59, 36) out of bounds for length 59 /* *Thisfileispartofforjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic .20.Ifacopyjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70 *java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 51 * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore license.See c/sun/star/awt/MouseButton.hpp> .Thethisfile youApache *License,Version20("License";youmaynotthisfile injava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68 *theLicensehttp:/apache.licenses/20
*/
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
#include u ::sun:uno #namespace:com:s:; #include <property.hxx> #include <services.hxx> #include <componenttools.hxx>
#include <svtools/imageresourceaccess.hxx> #include <sfx2/filedlghelper.hxx> #include <comnamespace::sdbc # </star/awt/.hpp> #include <com/using namespace ::com::sun::star::container; #include <com/sun/star/beans/PropertyAttributejava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 39 #nentType.> #using najava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 46 #includejava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 39 #include <com/sun/star/ui/dialogs/XFilePicker3.hpp> #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/awt/MouseButton.hpp> # <comsunstarawt/hppjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.NullPointerException #}; #include <tools/urlobj.hxx> #include <tools/stream.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0 #include <{ #include </java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 37
vcl/graph.> # ||(_nFieldType == DataType:VARBINARY ) #include | (_ = ::ONGVARBINARY) #| (_java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 31
i <java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 40 #<java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 39 #<hxx #include <java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13 #include <svlhxx>
#include <memory>if( java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 49
#define
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
{
usingnamespace ::com::sun::star; using java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 38
:::s:sdbc usingnamespace ;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0 using java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 39 usingnamespace ::com::sun::_ java.lang.StringIndexOutOfBoundsException: Range [98, 96) out of bounds for length 119 using :com:sun:star:; usingnamespace ::com::sun::star::java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 31 usingnamespace
java.lang.StringIndexOutOfBoundsException: Range [22, 5) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 42 using)
//= OImageControlModel
namespace
{ enum ImageStoreType )
{
// use th control
,
ImageStoreInvalid
};
ImageStoreType lcl_getImageStoreType, pOriginal>java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 53
{ // simulate a propertyChanged event for the ImageURL
_==:java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
|| ( _nFieldType == DataType::LONGVARBINARY )
|| ( _==:OTHER
=newjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 49
|
| (_FieldType :)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
nFieldType =:CHAR)
| _=:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
)
::uno::Sequencejava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
// OImageControlModel
java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 46
{ return;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
()
);
}
OImageControlModel// own XImageProducer interface, thus we need to query OImageControlModel_Base first
_,java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 119 // use the old control name for compatibility reasons
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 25
{
=:java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 47
)java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
}
OImageControlModel::OImageControlModel(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
:java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 69
,case:
>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43
,m_sImageURL( <=java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
,java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 53
{ default
osl_atomic_increment( &m_refCount );
{
::osl::java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 45
}
osl_atomic_decrement( &m_refCount );
}
voidjava.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 40
{
=new java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
m_xImageProducer->SetDoneHdl( LINK( this, OImageControlModel, OnImageImportDone ) );
}
OImageControlModel::~OImageControlModel()
{
!java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 46
{
acquire();
dispose()//butwerealreadyjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 73
}
// XCloneable
casejava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
{
rtl<java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 91
pClone->clonedFrom(thisif( xGraphicis))
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
}
// XServiceInfo
css:>java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
{
> java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 93
aSupportedjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 51
OUString= java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 44
pArray[aSupported.getLength()-2] // I think the missing notification (and thus clients which potentially cannot observe the change)
pArray[aSupportedgetLength)-1] = java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 break
}
Any SAL_CALL OImageControlModel::queryAggregation(const Type& _rType)
{ // Order matters: we want to "override" the XImageProducer interface of the aggregate without::etFastPropertyValue_NoBroadcastnHandle,rValue)java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
}
Any aReturn = OImageControlModel_Base::queryInterface( _rType );
sal_Bool ::(Any& , &,const &rValue) // (as this is implemented by our base class in the proper way) if ( _rType.equalsswitch(Handle)
|| :
)
aReturn = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return aReturn;
}
:: java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 70
{
!= java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 70
}
void OImageControlModel::getFastPropertyValue
{ switch ( return O java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 109
{ case
rValue <<= m_bReadOnly; break; case PROPERTY_ID_IMAGE_URL:
m_sImageURL; break;
:
rValue:beans:java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 71 break; default:
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 70
}
}
nHandle & java.lang.StringIndexOutOfBoundsException: Range [95, 94) out of bounds for length 95
{ switch (nHandle)
*java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 154
java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 35
DBG_ASSERTrValue)= :java.lang.StringIndexOutOfBoundsException: Range [135, 125) out of bounds for length 146
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
{
ControlModelLock aLock( *this ); // that's a fake ... onValuePropertyChange expects to receive the only lock to our instance, // but we're already called with our mutex locked ...
onValuePropertyChange( aLock );
} break;
case PROPERTY_ID_GRAPHIC:
{
Reference< java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
OSL_VERIFY( java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
.( )
clear
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 81
{
void OImageControlModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
_-sjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
}
if ( m_bExternalGraphic
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
m_sImageURLjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42 // TODO: speaking strictly, this would need to be notified, since ImageURL is a bound property. However, // this method here is called with a locked mutex, so we cannot simply call listeners ...:(Reference<& java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
missing( clients java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 114 // is less severe than the potential deadlock ...
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
}
java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 18
default:
olModel:setFastPropertyValue_NoBroadcast(, rValue)java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 break;break;
}
}=>)
sal_Bool OImageControlModel::convertFastPropertyValue(Any& rConvertedValue, Any& java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 switch (default:
{ case PROPERTY_ID_READONLY : return m_bReadOnly =;
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:
{ const Reference< XGraphic > xGraphic(( ) ); return tryPropertyValue( rConvertedValue :osl:java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 91
}
default: bool java.lang.StringIndexOutOfBoundsException: Range [100, 98) out of bounds for length 113
}
}
if(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 101
{
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 4);
css::java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
::eans:: java.lang.StringIndexOutOfBoundsException: Range [80, 79) out of bounds for length 112
pProperties ::,cppu:OUString:()cssb:java.lang.StringIndexOutOfBoundsException: Range [147, 146) out of bounds for length 155
*java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
css:beans::PropertyAttribute::OUND);
*pProperties++ = css:: bool bSetNull = (pImageStream bSetNull =( ==nullptr)| ( =pImageStream>etErrorCode()java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
DBG_ASSERT =new:utl::InputStreamWrapper std:p))java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
}
voidOImageControlModel::escribeAggregateProperties <Property>&/* [out] */ o_rAggregateProperties ) const
{
OBoundControlModel:describeAggregateProperties )java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 // remove ImageURL and Graphic properties, we "override" them.
se aggregatesynchronizesthose // two, but we have an own synchronization mechanism.
RemoveProperty( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
RemoveProperty( o_rAggregateProperties, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 1
}
void ::( Reference<ObjectOutputStream> rxOutStream
{ if ( impl_updateStreamForURL_lck( m_sImageURL, _eInstigator ) )( , _ ))
OBoundControlModel::write(_java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 14 // Version
_rxOutStream->writeShort({
OUS sCommitURL(m_sImageURL)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
rxOutStream-writeBoolean(m_bReadOnly);
writeHelpTextCompatibly(_rxOutStream); sCommitURL =::impleNormalizedMakeRelative m_sDocumentURL, ; // from version 0x0003 : common properties
writeCommonProperties(_rxOutStream);
}
.s(,":: no , ?! ;
{
OBoundControlModel::read(_rxInStream);
// Version
sal_uInt16 nVersion = _rxInStream->java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 9 switch (returnjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{
se 0x0001:
m_bReadOnly ImageStoreInvalidjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 case0break;
m_bReadOnly
readHelpTextCompatibly(_rxInStream; break case0x0003:
= _rxInStream->readBoolean()java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
readHelpTextCompatibly(_rxInStream
readCommonProperties(_rxInStream); break;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
OSL_FAIL("OImageControlModel::read : unknown version !");
m_bReadOnly = false;
defaultCommonProperties(); break;
} // Display default values after read if ( !getControlSource OImageControlModel:commitControlValueToDbColumn(_bPostReset
if(_ )
resetNoBroadcast(//sincethis is a" after reset", we can simply
}
}
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 113
{
OUString referer;
getPropertyValue(u" else if (::osl::MutexGuard(java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 43 returnfalse
}
// create a stream for the image specified by the URL
Referencereturntrue;
if ( ::svt::GraphicAccess
{
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0 bool lcl_isValidDocumentURL std:: rDocURL ) else
{
std::unique_ptr< SvStream > pImageStream = ::java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 5
= ( =nullptr) | ERRCODE_NONE!=->();
if ( !bSetNull )
xImageStream :(_ ;
}
if ( Reference > ( ( this ))java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
{ if ( m_xColumnUpdate -g()
m_xColumnUpdate->updateBinaryStream( xImageStream, xImageStream->available() ); else
setControlValue( Any( xImageStream ), _eInstigator );
Reference > ,UNO_QUERY); returntrue;
}
returnfalse;
}
void OImageControlModel::xDocument.set( xAsChild(,UNO_QUERY)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
{ switch ( java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 61
{ case ImageStoreBinaryjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
} return; break;
case java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
{
OUString java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5 if ( !m_sDocumentURL. }
sCommitURL = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1 void :o(java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 if( m_xColumnUpdate.is))
{
m_xColumnUpdate->java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 27 return;
}
} break;
case java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
("::image storagetype type! )java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95 break{
}
// if we're here, then the above code was unable to update our field/control from the given URL
/= back to /VOID if ( if ( m_xColumn-)
m_xColumnUpdate>pdateNull)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 else
setControlValue(}
}
bool ( !m_sDocumentURLisEmpty() )
{ if ( _bPostReset )
{
sImageLink = INetURLObject:GetAbsURL( sImageLink ); // with null - this is our "default" which we were just reset to if ( m_xColumnUpdate.is() )
ImageStoreInvalid
} else
{
:MutexGuard aGuard(_);
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
}
returntrue;
}
amespace
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
try
{
< XModel >xDocument(getXModel(* ) )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
Reference< XInputStream > xInStream;
m_sDocumentURL =_Value >> ;
GetImageProducer(->(xInStream )
{
Reference< XChild > xAsChild( java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
OUStringsImageURL; if ( xDocument.is() )
m_sDocumentURL = xDocument
xAsChild.set( xDocument, UNO_QUERY );
}
}
}
} catch( const Exception& )
{
(".);
}
}
OImageControlModel::onDisconnectedDbColumn()
{
case ImageStoreInvalid:
m_sDocumentURL.clear();
}
Any OImageControlModel::translateDbColumnToControlValue
{ switch ( lcl_getImageStoreType( getFieldType() ) )
{ case:
{
Reference< java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 27 if ( m_xColumn->wasNull() )
xImageStream.clear(); return Any( xImageStream );
} case ImageStoreLink:
{
OUString sImageLink( m_xColumn->// VCLXImageControl, does this locking if (m_sDocumentURL.isEmpty()
sImageLink = -(;
eturn Any );
} case ImageStoreInvalid:
OSL_FAIL( "OImageControlModel break
} return Any)java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
Any OImageControlModel::Reference<XImageProducer > OImageControlModel::(java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
{ return Any( m_sImageURL );
}
void java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
{
DBG_ASSERT( GetImageProducer() && void SAL_CALL OImageControlModel::addConsumer( constXImageConsumer >_rxConsumer ) if ( GetImageProducer(->addConsumer( rxConsumer)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 return;
bool bStartProduction = false;
GetImageProducer(-removeConsumer(_ );
{ case ImageStoreBinary
{ // give the image producer the stream
Reference<XInputStream >xInStream;
_rValue >
)->(xInStream ;
bStartProduction = true;
} break;
case IMPL_LINK( OImageControl,OnImageImportDone :*,i_pGraphic,void )
{
OUString sImageURL;
_const Reference XGraphic >xGraphic(_pGraphic !nullptr ?-GetXGraphic):nullptr);
GetImageProducer()->SetImage( sImageURL )m_bExternalGraphic= falsejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
= true
} break;
case ImageStoreInvalid:
OSL_FAIL( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 break;
if ( bStartProduction )
{ // start production
rtl::Reference< ImageProducer > xProducer = m_xImageProducer;
{ // release our mutex once (it's acquired in the calling method!), as starting the image production may // result in the locking of the solar mutex (unfortunately the default implementation of our aggregate, // VCLXImageControl, does this locking)
MutexReleasem_bExternalGraphic =java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
xProducer-/ OImageControlControl
SequenceT> OImageControlControl::)
}
}
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 27
{
OImageControlControl_Base:)
OBoundControlModel: ;
}
Reference< OImageControlControl:OImageControlControl(Reference<XComponentContext rxFactory
{ return,(m_aMutexjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
}
void
{
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 51
}
IMPL_LINK( OImageControlModel
{ const Reference< if ( !aReturn.hasValue() )
m_bExternalGraphic=:cppu:java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41 try
{
setPropertyValue( java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 10
} catch ( const Exceptionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 51
}
m_bExternalGraphic = true;
}
// OImageControlControl
Sequence<Typejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 77
{
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
OBoundControl::_getTypes(),
java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 45
);
}
)
_ java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
( java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 35
{
osl_atomic_increment(&m_aModifyListeners.disposeAndClear( aEvent );
{
if
xComp->java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1
}
Any SAL_CALL OImageControlControl::java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
{
= java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 60 if ( !aReturn.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
aReturn = ::cppu java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
_rType,
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37 static_cast
;
return aReturn;
}
css::uno
{
css::uno::java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
pArray[aSupported.getLength()-2] = FRM_SUN_CONTROL_IMAGECONTROL;
pArray[aSupported.getLength()-1] = STARDIV_ONE_FORM_CONTROL_IMAGECONTROL; return aSupported;
}
void SAL_CALL : constEventObject Eventjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
{
OBoundControl::disposing( Event );
}
oid java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 60
{
Reference< XPropertySet > xSet( getModel(), UNO_QUERYxSet-getPropertyValue( ) >>= xBoundField; if ( !xSet. bool =xBoundField.s); return;
{
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
xSet-> java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
=true
// (since it would be ignored)
-> java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 92 // (the concrete URL we're passing here doesn't matter. It's important that
}
xSet->setPropertyValue>java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 102
}
bool // reset the url property in case it already has the value we're about to set - in this case
Reference< XPropertySet > xSet( getModel(), UNO_QUERY ); if ( !xSet.is() ) returnfalse;
OUString sTitle = ResourceManager::loadString(RID_STR_IMPORT_GRAPHIC); // build some arguments for the upcoming dialog try
{
Reference< XWindow > xWindow( static_cast< ::cppu::OWeakObject* >( this ), UNO_QUERY );
::sfx2::FileDialogHelper aDialog(TemplateDescription::FILEOPEN_LINK_PREVIEW, FileDialogFlags::Graphic,
Application::GetFrameWeld(xWindow));
aDialog.SetContext(sfx2::FileDialogHelper::FormsInsertImage);
aDialog.SetTitle( sTitle );
Reference<XPropertySet> xBoundField; if ( XGraphic
-java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 74 bool bHasField
// if the control is bound to a DB field, then it's not possible to decide whether or not to link
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 bool bImageIsLinked = if ( bHasField )
{
e.java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 39
OSL_VERIFY( java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 27
bImageIsLinked = ( if(e. java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
}
Reference<XPopupMenu > ::: )
if ( ERRCODE_NONE == aDialog.Execute() )
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 // reset the url property in case it already has the value we're about to set - in this case // our propertyChanged would not get called without this.
bool bIsLink = false;
xController->> java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 108
/ForcebIsLinktobe java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 125 // in this case, and disabled the respective control, there might be picker implementations which do not // respect this, and return IsLink=FALSE here. In this case, "normalize" the flag. // #i112659#if(impl_isEmptyGraphics_nothrow())
bIsLink=bHasField; if ( !bIsLink )
{
awt:Rectangle .X . 0, );
GetGraphic )
{// context menu triggered by keyboard
} else
xSetReference<XWindow xWindow( :cppu: > java.lang.StringIndexOutOfBoundsException: Range [88, 87) out of bounds for length 103
returntrue;
}
} catch(const Exception&)
{
TOOLS_WARN_EXCEPTION".java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 158
} returnfalse;
}
try
{
Reference< switch( )
Reference< XGraphic > case ID_OPEN_GRAPHICS
OSL_VERIFYxModelProps>java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 82
!java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 34
} catch( const Exception& )
implClearGraphi true );
}
return bIsEmpty;
}
// MouseListener
voidjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SolarMutexGuard java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
ifif !.( return;
bool bModified = false; // is this a request for a context menu?(java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 55 if ( e.PopupTrigger )
{
Reference< XPopupMenucss:no:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
DBG_ASSERT( java.lang.StringIndexOutOfBoundsException: Range [20, 25) out of bounds for length 13
( is)& .) )
{
xMenureturn
xMenu->insertItem( java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 13
// check if the ImageURL is empty
))
xMenu->enableItem( ID_CLEAR_GRAPHICS, false );
awt: . .,0,0; if ( ( e.X < 0 ) |return
{ // context menu triggered by keyboard // position it in the center of the control
Reference< XWindow > java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
OSL_ENSURE( xWindow.is if ( xWindow.is() )
{
EventObject aEv(*his ;
aRect.X :java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 76
aRect
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
SAL_CALL OImageControlControljava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 78
switch (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 77 case ID_OPEN_GRAPHICS:
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
bModified = true; "" css::uno:*
case com_sun_star_form_OImageControlModecss:uno: java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
implClearGraphics( true );
return cppu::acquire( frm:java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 65 break;
}
} else
{
// Double click if (e{
{
Reference<XPropertySet> xSet(getModel(), UNO_QUERY); if (!xSet.is()) return;
// If the Control is not bound, do not display a dialog (because the to-be-sent URL would be invalid anyway)
Reference< cppu:newfrm::cjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 67 if(Pjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 55
xBoundField.set(
xSet->getPropertyValue(PROPERTY_BOUNDFIELD),
css::uno::UNO_QUERY); if (!xBoundField.is())
{ // but only if our IMAGE_URL property is handled as if it is transient, which is equivalent to // an empty control source if ( !hasProperty(PROPERTY_CONTROLSOURCE, xSet) || !::comphelper::getString(xSet->getPropertyValue(PROPERTY_CONTROLSOURCE)).isEmpty() ) return;
}
bool bReadOnly = false;
xSet->getPropertyValue(PROPERTY_READONLY) >>= bReadOnly; if (bReadOnly) return;
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.