diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-03 11:16:39 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-23 13:24:28 +0200 |
commit | f39d69f6b5bc6dad1112e9465e12395d9439effb (patch) | |
tree | 3d95f927c680e343e32ef43febcab8f7e49969be /sax | |
parent | c0c45cad415b2d091c632f3c2bc15103597db1f9 (diff) |
Remove few pointless OUString::number() and one method
Change-Id: I3e9a302a7513eebfeff07402f71fc3dde22e4cc2
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/tools/fshelper.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx index 55be646f748d..e0ed75186629 100644 --- a/sax/source/tools/fshelper.cxx +++ b/sax/source/tools/fshelper.cxx @@ -112,25 +112,22 @@ FastSerializerHelper* FastSerializerHelper::write(const OUString& value) return this; } -FastSerializerHelper* FastSerializerHelper::write(const OString& value) -{ - mpSerializer->write(value); - return this; -} - FastSerializerHelper* FastSerializerHelper::write(sal_Int32 value) { - return write(OString::number(value)); + mpSerializer->write(OString::number(value)); + return this; } FastSerializerHelper* FastSerializerHelper::write(sal_Int64 value) { - return write(OString::number(value)); + mpSerializer->write(OString::number(value)); + return this; } FastSerializerHelper* FastSerializerHelper::write(double value) { - return write(OString::number(value)); + mpSerializer->write(OString::number(value)); + return this; } FastSerializerHelper* FastSerializerHelper::writeEscaped(const char* value) |