diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-25 14:08:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-25 14:08:30 +0100 |
commit | 578e890e89c9a143d36b3d7307dcdc0545523614 (patch) | |
tree | a8ebe6737db5196ad7fa8c46f95ab0052d142bb7 /sfx2 | |
parent | e83d0d9b3b82a604e373a975524e84626efd160e (diff) |
m_pStyleFamiliesId is now unused
Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 1 |
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; |