diff options
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index c3baa5d21151..65145a21a96d 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -793,7 +793,7 @@ bool SfxOleSection::GetDateValue( util::Date& rValue, sal_Int32 nPropId ) const void SfxOleSection::SetProperty( const SfxOlePropertyRef& xProp ) { - if( xProp.get() ) + if( xProp ) maPropMap[ xProp->GetPropId() ] = xProp; } @@ -1062,7 +1062,7 @@ void SfxOleSection::LoadProperty( SvStream& rStrm, sal_Int32 nPropId ) break; } // load property contents - if( xProp.get() ) + if( xProp ) { SetError( xProp->Load( rStrm ) ); maPropMap[ nPropId ] = xProp; |