summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-03-19 08:41:43 +0000
committerMichael Brauer <mib@openoffice.org>2001-03-19 08:41:43 +0000
commit5cf764b8e670a7a4b1532a547a9e4d0b41704c77 (patch)
treec871a6871f3e9f565e0447dee17f6a41793bd1c8 /xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
parent2f663725d595f6f24482cf80baddb0e7b4194d13 (diff)
new numbering types
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigExport.cxx')
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigExport.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
index 76e4d7e3d603..c6ee098473d0 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionFootnoteConfigExport.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: dvo $ $Date: 2001-02-19 11:25:11 $
+ * last change: $Author: mib $ $Date: 2001-03-19 09:41:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -230,17 +230,17 @@ void XMLSectionFootnoteConfigExport::exportXML(
}
// number type: num format
- rExport.AddAttributeASCII(XML_NAMESPACE_STYLE, sXML_num_format,
- SvxXMLNumRuleExport::GetNumFormatValue(
- nNumberingType));
+ rExport.GetMM100UnitConverter().convertNumFormat( sBuf, nNumberingType );
+ rExport.AddAttribute(XML_NAMESPACE_STYLE, sXML_num_format,
+ sBuf.makeStringAndClear());
// and letter sync, if applicable
- const sal_Char* pLetterSync =
- SvxXMLNumRuleExport::GetNumLetterSync(nNumberingType);
- if (NULL != pLetterSync)
+ rExport.GetMM100UnitConverter().convertNumLetterSync( sBuf, nNumberingType );
+ if (sBuf.getLength())
{
- rExport.AddAttributeASCII(XML_NAMESPACE_STYLE,
- sXML_num_letter_sync, pLetterSync);
+ rExport.AddAttribute(XML_NAMESPACE_STYLE,
+ sXML_num_letter_sync,
+ sBuf.makeStringAndClear());
}
}