summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/DocumentStylePoolManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/DocumentStylePoolManager.cxx')
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index e0b44789c499..09d457056a05 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -1967,12 +1967,14 @@ SwNumRule* DocumentStylePoolManager::GetNumRuleFromPool( sal_uInt16 nId )
{
if ( eNumberFormatPositionAndSpaceMode == SvxNumberFormat::LABEL_WIDTH_AND_POSITION )
{
- aFormat.SetAbsLSpace( nSpace = nSpace + pArr[ n ] );
+ nSpace += pArr[ n ];
+ aFormat.SetAbsLSpace( nSpace );
aFormat.SetFirstLineOffset( - pArr[ n ] );
}
else if ( eNumberFormatPositionAndSpaceMode == SvxNumberFormat::LABEL_ALIGNMENT )
{
- aFormat.SetListtabPos( nSpace = nSpace + pArr[ n ] );
+ nSpace += pArr[ n ];
+ aFormat.SetListtabPos( nSpace );
aFormat.SetIndentAt( nSpace );
aFormat.SetFirstLineIndent( - pArr[ n ] );
}