From 0d3082dbf2e87bed462246307a13e206f7617081 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Feb 2014 09:11:02 +0000 Subject: callcatcher: update unused code Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b --- sfx2/source/control/templateabstractview.cxx | 12 ------------ sfx2/source/dialog/tabdlg.cxx | 25 ------------------------- 2 files changed, 37 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx index ddaac09e4b0b..33e007da997b 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx @@ -137,18 +137,6 @@ TemplateAbstractView::TemplateAbstractView (Window *pParent, WinBits nWinStyle, maFTName.Hide(); } -TemplateAbstractView::TemplateAbstractView(Window *pParent, const ResId &rResId, bool bDisableTransientChildren) - : ThumbnailView(pParent,rResId,bDisableTransientChildren), - mnCurRegionId(0), - maAllButton(this, SfxResId(BTN_ALL_TEMPLATES)), - maFTName(this, SfxResId(FT_NAME)) -{ - maAllButton.Hide(); - maAllButton.SetStyle(maAllButton.GetStyle() | WB_FLATBUTTON); - maAllButton.SetClickHdl(LINK(this,TemplateAbstractView,ShowRootRegionHdl)); - maFTName.Hide(); -} - TemplateAbstractView::TemplateAbstractView(Window *pParent) : ThumbnailView(pParent), mnCurRegionId(0), diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index d7e90524e32b..fb8856a2c14c 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -717,31 +717,6 @@ void SfxTabDialog::AddTabPage( sal_uInt16 nId, const OUString &rRiderText, sal_B AddTabPage( nId, rRiderText, 0, 0, bItemsOnDemand, nPos ); } - -// ----------------------------------------------------------------------- - -void SfxTabDialog::AddTabPage - -/* [Description] - - Adding a page to the dialogue. Must correspond to a entry in the - TabControl in the resource of the dialogue. -*/ - -( - sal_uInt16 nId, // Page ID - CreateTabPage pCreateFunc, // Pointer to the Factory Method - GetTabPageRanges pRangesFunc, // Pointer to the Method for quering - // Ranges onDemand - sal_Bool bItemsOnDemand // indicates whether the set of this page is - // requested when created -) -{ - pImpl->aData.push_back( - new Data_Impl( nId, pCreateFunc, pRangesFunc, bItemsOnDemand ) ); -} - - /* Adds a page to the dialog. The Name must correspond to a entry in the TabControl in the dialog .ui -- cgit