summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-25 14:08:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 14:08:30 +0100
commit578e890e89c9a143d36b3d7307dcdc0545523614 (patch)
treea8ebe6737db5196ad7fa8c46f95ab0052d142bb7 /sfx2
parente83d0d9b3b82a604e373a975524e84626efd160e (diff)
m_pStyleFamiliesId is now unused
Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b
Diffstat (limited to 'sfx2')
-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;