diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 09:11:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:03:50 +0000 |
commit | 0d3082dbf2e87bed462246307a13e206f7617081 (patch) | |
tree | 372b4a879b45e6a9e85ff42f4275a8e925c3162d /sfx2 | |
parent | drawingML import: picture with scheme color (diff) | |
download | core-0d3082dbf2e87bed462246307a13e206f7617081.tar.gz core-0d3082dbf2e87bed462246307a13e206f7617081.zip |
callcatcher: update unused code
Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/templateabstractview.cxx | 12 | ||||
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 25 |
2 files changed, 0 insertions, 37 deletions
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 |