summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-07-19 15:59:17 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-07-19 15:59:17 +0000
commit4e696e996d8c8724b78efc4ced93327b99e126a7 (patch)
tree216b4e7b45427b99adffd942a723a2c677cb42cf /sw/source/filter/xml
parent79a5d432ecb31cc4a06648986bbd10533ebe5815 (diff)
#89999# use the static methods in the new SwStyleNameMapper class for Programmatic Name <-> UI Name <-> Pool Id conversion
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r--sw/source/filter/xml/xmltexte.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 6822c1f83d8c..e5f4530cc21b 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltexte.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: mib $ $Date: 2001-07-02 09:53:00 $
+ * last change: $Author: mtg $ $Date: 2001-07-19 16:47:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -137,6 +137,9 @@
#ifndef _SFX_FRMDESCRHXX
#include <sfx2/frmdescr.hxx>
#endif
+#ifndef _SWSTYLENAMEMAPPER_HXX
+#include <SwStyleNameMapper.hxx>
+#endif
using namespace ::rtl;
using namespace ::com::sun::star::uno;
@@ -253,9 +256,9 @@ void SwXMLTextParagraphExport::exportStyleContent(
XML_CONDITION,
sBuffer.makeStringAndClear() );
const String& rName =
- SwXStyleFamilies::GetProgrammaticName(
+ SwStyleNameMapper::GetProgName(
rCond.GetTxtFmtColl()->GetName(),
- SFX_STYLE_FAMILY_PARA );
+ GET_POOLID_TXTCOLL );
GetExport().AddAttribute( XML_NAMESPACE_STYLE,
XML_APPLY_STYLE_NAME, rName );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,