diff options
author | Michael Stahl <mst@openoffice.org> | 2011-10-11 14:19:00 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-10-11 17:57:00 +0200 |
commit | 3ca2bef76886450058d1667703aeafe4c2e456c3 (patch) | |
tree | b18d70f79bfcfd2b2e34790e86edafb4c4337a80 /xmloff/source/text/XMLSectionFootnoteConfigExport.cxx | |
parent | 02c32e0f0e75a9df80888051d1ec189fa14129bd (diff) |
#i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
remove duplicate methods from SvXMLUnitConverter:
convertBool, convertPercent, convertColor, convertNumber, convertDouble,
indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
clearUndefinedChars
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLSectionFootnoteConfigExport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx index a420ebb13f8f..a864d59bfd25 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx @@ -32,6 +32,7 @@ #include <xmloff/xmlexp.hxx> #include <xmloff/xmlprmap.hxx> #include <com/sun/star/style/NumberingType.hpp> +#include <sax/tools/converter.hxx> #include <xmloff/maptype.hxx> #include <xmloff/txtprmap.hxx> @@ -156,7 +157,7 @@ void XMLSectionFootnoteConfigExport::exportXML( if (bNumRestart) { // restart number is stored as 0.., but interpreted as 1.. - SvXMLUnitConverter::convertNumber(sBuf, + ::sax::Converter::convertNumber(sBuf, (sal_Int32)(nNumRestartAt+1)); rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_START_VALUE, sBuf.makeStringAndClear()); |