diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-02-13 22:31:23 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-14 16:32:01 +0000 |
commit | 1dc612970f57aa5599c6d1b7afb10a3f5f4403d2 (patch) | |
tree | 2685ccbdc878172dc6c7ca210748f0ecc68779cd | |
parent | 2e01faac3fa50f7036093583ae52f1584b3de55c (diff) |
Remove unused code.
-rw-r--r-- | editeng/inc/editeng/numitem.hxx | 1 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 17 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 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() |