summaryrefslogtreecommitdiff
path: root/sw/source/core/text/itrform2.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-10-31 17:39:16 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-11-02 15:10:24 +0100
commitfd886cdc6a8c047a9fb1bd10a00f901b4adb525e (patch)
treed60515f1141181c9ef0e96de4a0783c2536a0b24 /sw/source/core/text/itrform2.cxx
parentb2e0b5f3f5b9a4c6b8483e6fb9855054c84aab92 (diff)
n#693238: fixed docx import of tabs set after the end margin
Added a new compatibility option to keep the previous behavior, but changed the default to avoid lines insertion for tabs when there are tab stops set beyond the end margin
Diffstat (limited to 'sw/source/core/text/itrform2.cxx')
-rw-r--r--sw/source/core/text/itrform2.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index 965d73e09420..a507526b4188 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -738,6 +738,9 @@ void SwTxtFormatter::BuildPortions( SwTxtFormatInfo &rInf )
// 3260, 3860: Fly auf jeden Fall loeschen!
ClearFly( rInf );
+
+ // Reinit the tab overflow flag after the line
+ rInf.SetTabOverflow( sal_False );
}
/*************************************************************************