diff options
author | Michael Stahl <mst@openoffice.org> | 2011-10-11 14:19:08 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-10-11 17:57:00 +0200 |
commit | ae3e2f170045a1525f67e9f3e9b7e03d94f2b56b (patch) | |
tree | 8b7caefa4e6f3f7520653dc66f59bacecbeeda1a /sc/source/filter/xml/XMLConverter.cxx | |
parent | 3ca2bef76886450058d1667703aeafe4c2e456c3 (diff) |
#i108468#: clean up xmluconv code duplication, DateTime edition:
remove duplicate methods from SvXMLUnitConverter:
convertTime (all variants), convertDateTime (DateTime variants),
convertTimeDuration.
move convertAny from SvXMLUnitConverter to sax::converter.
Diffstat (limited to 'sc/source/filter/xml/XMLConverter.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLConverter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLConverter.cxx b/sc/source/filter/xml/XMLConverter.cxx index 5997e4f55df6..46246980090e 100644 --- a/sc/source/filter/xml/XMLConverter.cxx +++ b/sc/source/filter/xml/XMLConverter.cxx @@ -32,8 +32,8 @@ #include "XMLConverter.hxx" #include <com/sun/star/util/DateTime.hpp> #include <tools/datetime.hxx> +#include <sax/tools/converter.hxx> #include <xmloff/xmltoken.hxx> -#include <xmloff/xmluconv.hxx> #include "rangelst.hxx" #include "rangeutl.hxx" #include "docuno.hxx" @@ -351,7 +351,7 @@ void ScXMLConverter::ConvertDateTimeToString(const DateTime& aDateTime, rtl::OUS { util::DateTime aAPIDateTime; ConvertCoreToAPIDateTime(aDateTime, aAPIDateTime); - SvXMLUnitConverter::convertDateTime(sDate, aAPIDateTime); + ::sax::Converter::convertDateTime(sDate, aAPIDateTime); } void ScXMLConverter::ConvertCoreToAPIDateTime(const DateTime& aDateTime, util::DateTime& rDateTime) |