summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtsecte.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-11-08 18:17:43 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-11-08 18:17:43 +0000
commitc5f59f0e20fc1d280cf7fda8a89ebe467d6e432d (patch)
tree8054a4907d532ee0bd3447c160d43081e3b47f3e /xmloff/source/text/txtsecte.cxx
parente4172aa3e96c7a1f5c949e6a28250f7e1c5621c0 (diff)
#94187# prevent redlines from being exported in the styles section
Diffstat (limited to 'xmloff/source/text/txtsecte.cxx')
-rw-r--r--xmloff/source/text/txtsecte.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/text/txtsecte.cxx b/xmloff/source/text/txtsecte.cxx
index b383757f7d67..8358523d1c08 100644
--- a/xmloff/source/text/txtsecte.cxx
+++ b/xmloff/source/text/txtsecte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtsecte.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: mib $ $Date: 2001-09-05 08:32:07 $
+ * last change: $Author: dvo $ $Date: 2001-11-08 19:17:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -316,7 +316,7 @@ void XMLTextParagraphExport::exportListAndSectionChange(
while ((aOldForward != aOldStack.end()) &&
(*aOldForward != *aOld))
{
- if (NULL != pRedlineExport)
+ if ( !bAutoStyles && (NULL != pRedlineExport) )
pRedlineExport->ExportStartOrEndRedline(*aOldForward,
sal_False);
pSectionExport->ExportSectionEnd(*aOldForward, bAutoStyles);
@@ -324,7 +324,7 @@ void XMLTextParagraphExport::exportListAndSectionChange(
}
if (aOldForward != aOldStack.end())
{
- if (NULL != pRedlineExport)
+ if ( !bAutoStyles && (NULL != pRedlineExport) )
pRedlineExport->ExportStartOrEndRedline(*aOldForward,
sal_False);
pSectionExport->ExportSectionEnd(*aOldForward, bAutoStyles);
@@ -335,7 +335,7 @@ void XMLTextParagraphExport::exportListAndSectionChange(
// (order: oldest to newest)
while (aNew != aNewStack.rend())
{
- if (NULL != pRedlineExport)
+ if ( !bAutoStyles && (NULL != pRedlineExport) )
pRedlineExport->ExportStartOrEndRedline(*aNew, sal_True);
pSectionExport->ExportSectionStart(*aNew, bAutoStyles);
aNew++;