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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx
index 0903816ae6ef..7c995c4cbe37 100644
--- a/sd/source/core/stlfamily.cxx
+++ b/sd/source/core/stlfamily.cxx
@@ -49,7 +49,7 @@ typedef std::map< OUString, rtl::Reference< SdStyleSheet > > PresStyleMap;
struct SdStyleFamilyImpl
{
- tools::WeakReference<SdrPage> mxMasterPage;
+ tools::WeakReference<SdPage> mxMasterPage;
OUString maLayoutName;
PresStyleMap& getStyleSheets();
@@ -185,7 +185,7 @@ OUString SAL_CALL SdStyleFamily::getName()
{
if( mnFamily == SfxStyleFamily::Page )
{
- SdPage* pPage = static_cast< SdPage* >( mpImpl->mxMasterPage.get() );
+ SdPage* pPage = mpImpl->mxMasterPage.get();
if( pPage == nullptr )
throw DisposedException();