summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-07 08:55:16 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-07 08:55:16 +0000
commit3ff6e1cc4c39f4eba42e330bf74f3ca6802c9c9e (patch)
treec697d8447d030b6fac174289e63a7200cc714c37 /xmloff/source/text
parent2499dc4523b39ea2a3edf8cf713dcd1ce6e5d059 (diff)
INTEGRATION: CWS mib08 (1.11.28); FILE MERGED
2008/06/24 12:18:54 mib 1.11.28.1: #i90986# fo:clip
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLTextListAutoStylePool.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index 6488ff8fbff9..3710c16dddb3 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XMLTextListAutoStylePool.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -179,6 +179,11 @@ XMLTextListAutoStylePool::XMLTextListAutoStylePool( SvXMLExport& rExp ) :
Reference<ucb::XAnyCompareFactory> xCompareFac( rExp.GetModel(), uno::UNO_QUERY );
if( xCompareFac.is() )
mxNumRuleCompare = xCompareFac->createAnyCompareByName( OUString( RTL_CONSTASCII_USTRINGPARAM( "NumberingRules" ) ) );
+ sal_uInt16 nExportFlags = rExport.getExportFlags();
+ sal_Bool bStylesOnly = (nExportFlags & EXPORT_STYLES) != 0 && (nExportFlags & EXPORT_CONTENT) == 0;
+ if( bStylesOnly )
+ sPrefix = OUString( RTL_CONSTASCII_USTRINGPARAM("ML") );
+
}
XMLTextListAutoStylePool::~XMLTextListAutoStylePool()