[Libreoffice-commits] core.git: sw/source
abdulmajeed ahmed
aalabdulrazzaq at kacst.edu.sa
Mon Mar 17 04:01:36 PDT 2014
sw/source/core/doc/docfmt.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f0dc2d755932b00b83db884334bcd0741056c884
Author: abdulmajeed ahmed <aalabdulrazzaq at kacst.edu.sa>
Date: Mon Mar 17 13:53:51 2014 +0300
Fix fdo#75936 set limit for decreasing indent
Change-Id: I566f93f7e6f9a5bcff75094b51aaa4ee79e6890e
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index d2af898..3227260 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -2343,7 +2343,8 @@ void SwDoc::MoveLeftMargin( const SwPaM& rPam, bool bRight, bool bModulus )
if( bRight )
nNext += nDefDist;
else
- nNext -= nDefDist;
+ if(nNext >0) // fdo#75936 set limit for decreasing indent
+ nNext -= nDefDist;
aLS.SetTxtLeft( nNext );
More information about the Libreoffice-commits
mailing list