summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-12-23 12:54:35 +0100
committerDavid Tardon <dtardon@redhat.com>2010-12-24 14:17:54 +0100
commitf2689d614c44b99882c5d3fcc49b16d07956efe8 (patch)
tree02585c8566291ba4b30747aa5aca9bc028a7e2c6 /lotuswordpro
parentf33997868be3e81cd4e0d4fd8f43d47e0b9a2eae (diff)
remove unused code
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpsilverbullet.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx
index 3b797accb34b..1ef84591788e 100644
--- a/lotuswordpro/source/filter/lwpsilverbullet.cxx
+++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx
@@ -118,22 +118,12 @@ void LwpSilverBullet::RegisterStyle()
if (this->IsBulletOrdered() && this->HasName())
{
- ParaNumbering aParaNumbering;
- XFNumFmt aFmt;
-
//todo: find the flag in the file
sal_Bool bCumulative = sal_False;
- //get the numbeing format of level-1
- m_pBulletPara->GetParaNumber(1, &aParaNumbering);
- if (aParaNumbering.pPrefix)
- {
- aFmt.SetPrefix(aParaNumbering.pPrefix->GetText());
- }
-
-
for (sal_uInt8 nPos = 1; nPos < 10; nPos++)
{
+ ParaNumbering aParaNumbering;
//get numbering format according to the position.
m_pBulletPara->GetParaNumber(nPos, &aParaNumbering);
LwpFribParaNumber* pParaNumber = aParaNumbering.pParaNumber;