summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/templdlg.cxx5
-rw-r--r--sfx2/source/inc/templdgi.hxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index c566eb3fa76e..e522d53fdb76 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -668,7 +668,6 @@ SfxCommonTemplateDialog_Impl::SfxCommonTemplateDialog_Impl( SfxBindings* pB, vcl
, pWindow(pW)
, pModule(nullptr)
, pIdle(nullptr)
- , m_pStyleFamiliesId(nullptr)
, pStyleFamilies(nullptr)
, pStyleSheetPool(nullptr)
, pTreeBox(nullptr)
@@ -742,8 +741,6 @@ void SfxCommonTemplateDialog_Impl::ReadResource()
{
ResId aFamId( DLG_STYLE_DESIGNER, *pMgr );
aFamId.SetRT(RSC_SFX_STYLE_FAMILIES);
- m_pStyleFamiliesId = new ResId( aFamId.GetId(), *pMgr );
- m_pStyleFamiliesId->SetRT(RSC_SFX_STYLE_FAMILIES);
if (pMgr->IsAvailable(aFamId))
pStyleFamilies = new SfxStyleFamilies( aFamId );
}
@@ -851,8 +848,6 @@ void SfxCommonTemplateDialog_Impl::impl_clear()
for ( i = 0; i < COUNT_BOUND_FUNC; ++i )
delete pBoundItems[i];
pCurObjShell = nullptr;
-
- DELETEZ( m_pStyleFamiliesId );
}
SfxCommonTemplateDialog_Impl::DeletionWatcher *
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index 980302907fdb..0eafffe09154 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -175,7 +175,6 @@ protected:
SfxModule* pModule;
Idle* pIdle;
- ResId* m_pStyleFamiliesId;
SfxStyleFamilies* pStyleFamilies;
SfxTemplateItem* pFamilyState[MAX_FAMILIES];
SfxStyleSheetBasePool* pStyleSheetPool;