summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorabdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa>2014-03-17 13:53:51 +0300
committerabdulmajeed <aalabdulrazzaq@kacst.edu.sa>2014-03-17 14:00:06 +0300
commitf0dc2d755932b00b83db884334bcd0741056c884 (patch)
treed181e2095f715eeef13b13d7d7e040878129e17c /sw
parentd84a8704f699ac1b4fb42dce44a195ba87f6267b (diff)
Fix fdo#75936 set limit for decreasing indent
Change-Id: I566f93f7e6f9a5bcff75094b51aaa4ee79e6890e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docfmt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index d2af898982e1..3227260618da 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 );