diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index dacc6ae2a129..54925994da00 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -921,7 +921,7 @@ void SAL_CALL SdStyleSheet::setParentStyle( const OUString& rParentName ) throw if( !rParentName.isEmpty() ) { - SfxStyleSheetIteratorPtr aSSSI = boost::make_shared(mxPool.get(), nFamily, SFX_STYLE_FAMILY_ALL); + boost::shared_ptr aSSSI = boost::make_shared(mxPool.get(), nFamily); for (SfxStyleSheetBase *pStyle = aSSSI->First(); pStyle; pStyle = aSSSI->Next()) { // we hope that we have only sd style sheets