summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-13 22:31:23 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-14 16:32:01 +0000
commit1dc612970f57aa5599c6d1b7afb10a3f5f4403d2 (patch)
tree2685ccbdc878172dc6c7ca210748f0ecc68779cd /editeng
parent2e01faac3fa50f7036093583ae52f1584b3de55c (diff)
Remove unused code.
Diffstat (limited to 'editeng')
-rw-r--r--editeng/inc/editeng/numitem.hxx1
-rw-r--r--editeng/source/items/numitem.cxx17
2 files changed, 0 insertions, 18 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;