From 1461ebbbb5d47d90e31f0945a4878a68fbee5213 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Feb 2017 09:26:27 +0200 Subject: expand out ::sax::Converter::convertNumber to OUString::number which results in much simpler code overall, there is no need to go via an OUStringBuffer all the time Change-Id: I69eba92c93f471fa9a45f97c29c56dcf3cd1ebf8 Reviewed-on: https://gerrit.libreoffice.org/33773 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- dbaccess/source/filter/xml/xmlExport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/filter') diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index 8f096cb437a6..4d69dafdb2b4 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -1344,7 +1344,7 @@ OUString ODBExport::implConvertAny(const Any& _rValue) case TypeClass_SHORT: case TypeClass_LONG: // let the unit converter format is as string - ::sax::Converter::convertNumber(aBuffer, getINT32(_rValue)); + aBuffer.append(getINT32(_rValue)); break; default: OSL_FAIL("ODBExport::implConvertAny: Invalid type"); -- cgit