[Libreoffice-commits] core.git: sw/source
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Thu Jan 23 12:35:18 PST 2014
sw/source/core/edit/ednumber.cxx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
New commits:
commit a3506eb7254dcda62de0ddfa4fad35870e0d514c
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Thu Jan 23 21:27:10 2014 +0100
fdo#42708: bullets should not exit stage left ...
... that is reserved for actors.
Change-Id: I081e811179f12e610c9d8e9727c79bb69c548365
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx
index 431f30f..a56461d 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 );
}
More information about the Libreoffice-commits
mailing list