avoid implicit casting
This commit is contained in:
parent
b025c379f4
commit
4bd00a9208
1 changed files with 3 additions and 0 deletions
|
@ -62,9 +62,12 @@ public:
|
|||
~ImplEESdrObject();
|
||||
|
||||
BOOL ImplGetPropertyValue( const sal_Unicode* pString );
|
||||
BOOL ImplGetPropertyValue( const rtl::OUString& rString ) { return ImplGetPropertyValue(rString.getStr()); }
|
||||
|
||||
INT32 ImplGetInt32PropertyValue( const sal_Unicode* pStr, UINT32 nDef = 0 )
|
||||
{ return ImplGetPropertyValue( pStr ) ? *(INT32*)mAny.getValue() : nDef; }
|
||||
INT32 ImplGetInt32PropertyValue( const rtl::OUString& rStr, UINT32 nDef = 0 )
|
||||
{ return ImplGetInt32PropertyValue(rStr.getStr(), nDef); }
|
||||
|
||||
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& GetShapeRef() const { return mXShape; }
|
||||
const ::com::sun::star::uno::Any& GetUsrAny() const { return mAny; }
|
||||
|
|
Loading…
Reference in a new issue