[Libreoffice-commits] .: cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Apr 5 08:36:05 PDT 2011
cui/source/tabpages/numpages.cxx | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit 7d1b5c85ac90b88490654c759acb24090ba8a773
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Apr 5 16:12:53 2011 +0100
Resolves: #i117700# unused nFirstBorderText
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 550c58e..f4a87d8 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)
{
More information about the Libreoffice-commits
mailing list