From 578e890e89c9a143d36b3d7307dcdc0545523614 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 25 Oct 2016 14:08:30 +0100 Subject: m_pStyleFamiliesId is now unused Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b --- sfx2/source/dialog/templdlg.cxx | 5 ----- sfx2/source/inc/templdgi.hxx | 1 - 2 files changed, 6 deletions(-) (limited to 'sfx2') 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; -- cgit