diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-05 16:12:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-05 16:12:53 +0100 |
commit | 025001a71a2b632825154b2f72359c183675e223 (patch) | |
tree | 0ed5eafec589279521670616ac4891f2a5f55e1e | |
parent | 47dadac570311fc332c4d27ff10d5c851ffec5cc (diff) |
Resolves: #i117700# unused nFirstBorderText
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 4789d4a668f6..9f77a1a0f8c4 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2813,7 +2813,6 @@ void SvxNumPositionTabPage::InitControls() const SvxNumberFormat* aNumFmtArr[SVX_MAX_NUM]; sal_uInt16 nMask = 1; sal_uInt16 nLvl = USHRT_MAX; - long nFirstBorderText = 0; long nFirstBorderTextRelative = -1; for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++) { @@ -2821,16 +2820,7 @@ void SvxNumPositionTabPage::InitControls() if(nActNumLvl & nMask) { if(USHRT_MAX == nLvl) - { nLvl = i; - if ( !bLabelAlignmentPosAndSpaceModeActive ) - { - nFirstBorderText = nLvl > 0 ? - aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset() - - aNumFmtArr[nLvl - 1]->GetAbsLSpace() + aNumFmtArr[nLvl - 1]->GetFirstLineOffset(): - aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset(); - } - } if( i > nLvl) { |