diff options
author | Andy Holder <andy.m.holder@gmail.com> | 2011-01-24 00:00:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-25 21:29:33 +0000 |
commit | c545e900d1eb0094a81b1f79693bb1ce51923454 (patch) | |
tree | 3f65bf8f456ce7fb966ae91585a17838597d36c3 | |
parent | b76bd43ff0addfa0c2e30dd210096687094850f2 (diff) |
cppcheck: unused variables
-rw-r--r-- | sw/source/ui/misc/num.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index 25cf448014..68212bf73f 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -205,10 +205,8 @@ void SwNumPositionTabPage::InitControls() bool bSameIndentAt = bLabelAlignmentPosAndSpaceModeActive; const SwNumFmt* aNumFmtArr[MAXLEVEL]; - const SwFmtVertOrient* pFirstOrient = 0; USHORT nMask = 1; USHORT nLvl = USHRT_MAX; - long nFirstBorderText = 0; long nFirstBorderTextRelative = -1; for(USHORT i = 0; i < MAXLEVEL; i++) { @@ -218,14 +216,6 @@ void SwNumPositionTabPage::InitControls() if(USHRT_MAX == nLvl) { nLvl = i; - if ( !bLabelAlignmentPosAndSpaceModeActive ) - { - pFirstOrient = aNumFmtArr[nLvl]->GetGraphicOrientation(); - 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) |