summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTOCStylesContext.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/XMLIndexTOCStylesContext.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/XMLIndexTOCStylesContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTOCStylesContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
index 4dec88afc16a..45a44015deca 100644
--- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
@@ -39,7 +39,7 @@
#include "xmloff/xmlnmspe.hxx"
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmluconv.hxx>
+#include <sax/tools/converter.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <tools/debug.hxx>
#include <rtl/ustring.hxx>
@@ -91,7 +91,7 @@ void XMLIndexTOCStylesContext::StartElement(
(IsXMLToken(sLocalName, XML_OUTLINE_LEVEL)) )
{
sal_Int32 nTmp;
- if (SvXMLUnitConverter::convertNumber(
+ if (::sax::Converter::convertNumber(
nTmp, xAttrList->getValueByIndex(nAttr), 1,
GetImport().GetTextImport()->GetChapterNumbering()->
getCount()))