diff options
Diffstat (limited to 'sw/source/core/edit/ednumber.cxx')
-rw-r--r-- | sw/source/core/edit/ednumber.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index 431f30ff0212..a56461d9fa05 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -362,9 +362,12 @@ void SwEditShell::ChangeIndentOfAllListLevels( short nDiff ) if (pCurNumRule) { SwNumRule aRule(*pCurNumRule); - // #i90078# - aRule.ChangeIndent( nDiff ); - + const SwNumFmt& aRootNumFmt(aRule.Get(0)); + if( nDiff > 0 || aRootNumFmt.GetIndentAt() + nDiff > 0) // fdo#42708 + { + // #i90078# + aRule.ChangeIndent( nDiff ); + } // no start of new list SetCurNumRule( aRule, false ); } |