avoid implicit casting

This commit is contained in:
Caolán McNamara 2011-03-01 13:25:55 +00:00
parent b025c379f4
commit 4bd00a9208

View file

@ -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; }