summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txttab.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-03-30 12:48:18 +0300
committerJustin Luth <justin_luth@sil.org>2017-03-31 06:01:18 +0000
commit5251e7988a3bb1cfccff54eccf7fdd7621c4627c (patch)
tree510f6e717921f96c89c1e4debc9397258ee0bef8 /sw/source/core/text/txttab.cxx
parent4a58754714c4e570f68b31a1926c7de6feb48cc2 (diff)
tdf#106701 tabOverMargin: only affect specified tabstops, not autotab
Change-Id: I15bf3a8555a152cab90380524b4a968f9f95fc37 Reviewed-on: https://gerrit.libreoffice.org/35924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw/source/core/text/txttab.cxx')
-rw-r--r--sw/source/core/text/txttab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index b2dfd6ff146b..451dcb4d4b4e 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -378,7 +378,7 @@ bool SwTabPortion::PreFormat( SwTextFormatInfo &rInf )
case POR_TABLEFT:
{
// handle this case in PostFormat
- if( bTabOverMargin && GetTabPos() > rInf.Width() )
+ if( bTabOverMargin && !bAutoTabStop && GetTabPos() > rInf.Width() )
{
rInf.SetLastTab( this );
break;