diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-01 09:26:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-02 08:00:10 +0000 |
commit | 1461ebbbb5d47d90e31f0945a4878a68fbee5213 (patch) | |
tree | 5af28d3cdaf4d5195ddf9e69727807ab8104a8e2 /dbaccess | |
parent | c0f9bdd3e644e3ebf690aff9eb1aeec4f16dbf27 (diff) |
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 <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |