From 1dc612970f57aa5599c6d1b7afb10a3f5f4403d2 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Mon, 13 Feb 2012 22:31:23 +0100 Subject: [PATCH] Remove unused code. --- editeng/inc/editeng/numitem.hxx | 1 - editeng/source/items/numitem.cxx | 17 ----------------- unusedcode.easy | 1 - 3 files changed, 19 deletions(-) diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx index 1084ea1fbdd8..ea34a7f44d5e 100644 --- a/editeng/inc/editeng/numitem.hxx +++ b/editeng/inc/editeng/numitem.hxx @@ -278,7 +278,6 @@ public: const SvxNumberFormat* Get(sal_uInt16 nLevel)const; const SvxNumberFormat& GetLevel(sal_uInt16 nLevel)const; void SetLevel(sal_uInt16 nLevel, const SvxNumberFormat& rFmt, sal_Bool bIsValid = sal_True); - void SetLevel(sal_uInt16 nLevel, const SvxNumberFormat* pFmt); sal_Bool IsContinuousNumbering()const {return bContinuousNumbering;} diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 01fc4630ff23..ccb34556cf95 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -759,23 +759,6 @@ void SvxNumRule::SetLevel( sal_uInt16 i, const SvxNumberFormat& rNumFmt, sal_Boo } } -void SvxNumRule::SetLevel(sal_uInt16 nLevel, const SvxNumberFormat* pFmt) -{ - DBG_ASSERT(nLevel < SVX_MAX_NUM, "Wrong Level" ); - - if( nLevel < SVX_MAX_NUM ) - { - aFmtsSet[nLevel] = 0 != pFmt; - if(pFmt) - SetLevel(nLevel, *pFmt); - else - { - delete aFmts[nLevel]; - aFmts[nLevel] = 0; - } - } -} - String SvxNumRule::MakeNumString( const SvxNodeNum& rNum, sal_Bool bInclStrings ) const { String aStr; diff --git a/unusedcode.easy b/unusedcode.easy index 9a40c2f94647..5142e88cc8fb 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -369,7 +369,6 @@ SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder* const*, unsigned short) SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeTxBxSort const*, unsigned short, unsigned short) SvxMSDffShapeTxBxSort::Remove(SvxMSDffShapeOrder* const&, unsigned short) SvxMSDffShapeTxBxSort::Remove(unsigned short, unsigned short) -SvxNumRule::SetLevel(unsigned short, SvxNumberFormat const*) SvxOpenGraphicDialog::SetControlHelpIds(short const*, char const**) SvxPluginFileDlg::IsAvailable(unsigned short) SvxPopupWindowListBox::StartSelection()