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 /dbaccess | |
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 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index b120de87b3f3..10bc983291de 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -37,7 +37,6 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/txtimp.hxx> #include <xmloff/xmlnmspe.hxx> -#include <xmloff/xmluconv.hxx> #include <xmloff/nmspmap.hxx> #include <comphelper/types.hxx> #include "xmlstrings.hrc" @@ -1040,7 +1039,8 @@ void ODBExport::exportColumns(const Reference<XColumnsSupplier>& _xColSup) if ( aColumnDefault.hasValue() ) { ::rtl::OUStringBuffer sColumnDefaultString,sType; - SvXMLUnitConverter::convertAny( sColumnDefaultString, sType, aColumnDefault ); + ::sax::Converter::convertAny( + sColumnDefaultString, sType, aColumnDefault ); AddAttribute(XML_NAMESPACE_DB, XML_TYPE_NAME,sType.makeStringAndClear()); AddAttribute(XML_NAMESPACE_DB, XML_DEFAULT_VALUE,sColumnDefaultString.makeStringAndClear()); } |