sw/source/core/edit/ednumber.cxx |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit a3506eb7254dcda62de0ddfa4fad35870e0d514c
Author: Bjoern Michaelsen <bjoern.michael...@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 );
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to