diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 78390194ba69..ec0457feb755 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -2531,11 +2531,13 @@ void XMLTextParagraphExport::exportTextRangeEnumeration( } else if (sType == gsSoftPageBreak) { - exportSoftPageBreak(); + if (!bAutoStyles) + exportSoftPageBreak(); } else if (sType == "LineBreak") { - exportTextLineBreak(xPropSet); + if (!bAutoStyles) + exportTextLineBreak(xPropSet); } else { OSL_FAIL("unknown text portion type"); |