summaryrefslogtreecommitdiffstats
path: root/sd/source/core/stlfamily.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/stlfamily.cxx')
-rw-r--r--sd/source/core/stlfamily.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx
index 413699e3a533..52fb2d612b5d 100644
--- a/sd/source/core/stlfamily.cxx
+++ b/sd/source/core/stlfamily.cxx
@@ -441,7 +441,8 @@ Reference< XInterface > SAL_CALL SdStyleFamily::createInstance()
{
throw IllegalAccessException();
}
- return Reference< XInterface >( static_cast< XStyle* >( SdStyleSheet::CreateEmptyUserStyle( *mxPool.get(), mnFamily ) ) );
+ return Reference<XInterface>(
+ static_cast<XStyle*>(SdStyleSheet::CreateEmptyUserStyle(*mxPool, mnFamily)));
}
Reference< XInterface > SAL_CALL SdStyleFamily::createInstanceWithArguments( const Sequence< Any >& )