summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtftne.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-10-11 14:19:00 +0200
committerMichael Stahl <mst@openoffice.org>2011-10-11 17:57:00 +0200
commit3ca2bef76886450058d1667703aeafe4c2e456c3 (patch)
treeb18d70f79bfcfd2b2e34790e86edafb4c4337a80 /xmloff/source/text/txtftne.cxx
parent02c32e0f0e75a9df80888051d1ec189fa14129bd (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/txtftne.cxx')
-rw-r--r--xmloff/source/text/txtftne.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/txtftne.cxx b/xmloff/source/text/txtftne.cxx
index 23ee992339a5..9b220cf409fd 100644
--- a/xmloff/source/text/txtftne.cxx
+++ b/xmloff/source/text/txtftne.cxx
@@ -51,6 +51,7 @@
#include <com/sun/star/text/XEndnotesSupplier.hpp>
#include <com/sun/star/text/FootnoteNumbering.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
+#include <sax/tools/converter.hxx>
#include <xmloff/xmltoken.hxx>
#include "xmloff/xmlnmspe.hxx"
#include <xmloff/xmlnumfe.hxx>
@@ -319,7 +320,7 @@ void XMLTextParagraphExport::exportTextFootnoteConfigurationHelper(
aAny = rFootnoteConfig->getPropertyValue(sStartAt);
sal_Int16 nOffset = 0;
aAny >>= nOffset;
- SvXMLUnitConverter::convertNumber(sBuffer, (sal_Int32)nOffset);
+ ::sax::Converter::convertNumber(sBuffer, (sal_Int32)nOffset);
GetExport().AddAttribute(XML_NAMESPACE_TEXT, XML_START_VALUE,
sBuffer.makeStringAndClear());