diff options
Diffstat (limited to 'sd/source/core/stlsheet.cxx')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 24f365b30936..3df37e99da6e 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -958,9 +958,7 @@ void SAL_CALL SdStyleSheet::setParentStyle( const OUString& rParentName ) Reference< XPropertySetInfo > SdStyleSheet::getPropertySetInfo() { throwIfDisposed(); - static Reference< XPropertySetInfo > xInfo; - if( !xInfo.is() ) - xInfo = GetStylePropertySet().getPropertySetInfo(); + static Reference< XPropertySetInfo > xInfo = GetStylePropertySet().getPropertySetInfo(); return xInfo; } |