summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-22 14:28:56 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:29:59 +0200
commita606147d8d4c402d44e665f523efceadee45ed26 (patch)
tree0473d237d1bdf31b72bf4151f6b13704f0b1ecc4
parent535667982a9fc4cbb46121a975607afb6e1e87c4 (diff)
remove dead code inside #ifdef SV_HAS_RIDERBITMAPS
'git blame' says this code was introduced in 2000 as part of the initial commit. Change-Id: Ide84afd53277926da6b04bf4f74f6dea5f9974a7
-rw-r--r--sfx2/source/dialog/tabdlg.cxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 3dc385cbd057..d99259317213 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -754,14 +754,6 @@ void SfxTabDialog::AddTabPage( sal_uInt16 nId, const OUString &rRiderText, sal_B
AddTabPage( nId, rRiderText, 0, 0, bItemsOnDemand, nPos );
}
-#ifdef SV_HAS_RIDERBITMAPS
-
-void SfxTabDialog::AddTabPage( sal_uInt16 nId, const Bitmap &rRiderBitmap, sal_Bool bItemsOnDemand, sal_uInt16 nPos )
-{
- AddTabPage( nId, rRiderBitmap, 0, 0, bItemsOnDemand, nPos );
-}
-
-#endif
// -----------------------------------------------------------------------
@@ -854,34 +846,6 @@ void SfxTabDialog::AddTabPage
}
// -----------------------------------------------------------------------
-#ifdef SV_HAS_RIDERBITMAPS
-
-void SfxTabDialog::AddTabPage
-
-/* [Description]
-
- Add a page to the dialog. The riders bitmap is passed on, the page has no
- counterpart in the TabControl in the resource of the dialogue.
-*/
-
-(
- sal_uInt16 nId,
- const Bitmap &rRiderBitmap,
- CreateTabPage pCreateFunc,
- GetTabPageRanges pRangesFunc,
- sal_Bool bItemsOnDemand,
- sal_uInt16 nPos
-)
-{
- DBG_ASSERT( TAB_PAGE_NOTFOUND == m_pTabCtrl->GetPagePos( nId ),
- "Duplicate Page-Ids in the Tabpage" );
- m_pTabCtrl->InsertPage( nId, rRiderBitmap, nPos );
- pImpl->aData.push_back(
- new Data_Impl( nId, pCreateFunc, pRangesFunc, bItemsOnDemand ) );
-}
-#endif
-
-// -----------------------------------------------------------------------
void SfxTabDialog::RemoveTabPage( sal_uInt16 nId )