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/style/DrawAspectHdl.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/style/DrawAspectHdl.cxx')
-rw-r--r-- | xmloff/source/style/DrawAspectHdl.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/xmloff/source/style/DrawAspectHdl.cxx b/xmloff/source/style/DrawAspectHdl.cxx index 754e22b27d47..b916a0513807 100644 --- a/xmloff/source/style/DrawAspectHdl.cxx +++ b/xmloff/source/style/DrawAspectHdl.cxx @@ -28,11 +28,20 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_xmloff.hxx" + +#include "DrawAspectHdl.hxx" + #include <com/sun/star/uno/Any.hxx> + #include <rtl/ustrbuf.hxx> -#include <xmloff/xmluconv.hxx> + +#include <tools/solar.h> + +#include <sax/tools/converter.hxx> + +#include <xmloff/xmlement.hxx> #include <xmloff/xmltoken.hxx> -#include "DrawAspectHdl.hxx" + using ::rtl::OUString; using ::rtl::OUStringBuffer; @@ -63,7 +72,7 @@ sal_Bool DrawAspectHdl::importXML( const OUString& rStrImpValue, uno::Any& rValu { sal_Int64 nAspect = 0; - SvXMLUnitConverter::convertNumber64( nAspect, rStrImpValue ); + ::sax::Converter::convertNumber64( nAspect, rStrImpValue ); rValue <<= nAspect; return nAspect > 0; |