diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-19 02:24:00 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-19 21:20:46 +0200 |
commit | 1fe24bb1e2fbe44a4bf2c03297e259b3a18b1235 (patch) | |
tree | e237d906174ec0646fef5051e5f6940da31e28cf /sax | |
parent | 2a6450cbe8b57cae240d8cfea02e508cfac78dbe (diff) |
Further cleanup of FastSerializerHelper's startElement/singleElement[NS]
Drop FSEND_t: C-style varargs code was replaced since version 6.0 in commit
d43fc40718217d89cc95cc3c0bc0b8e7926abcc0, so it's time to remove the last bits.
Drop int-to-string macros that are simple wrappers over OString::number.
Avoid unnecessary string type conversions.
Change-Id: I86478577b8e469f99b5a90619e5f78a61f4f23fb
Reviewed-on: https://gerrit.libreoffice.org/70964
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/tools/fshelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx index bd35903bd7a6..69056a626d14 100644 --- a/sax/source/tools/fshelper.cxx +++ b/sax/source/tools/fshelper.cxx @@ -40,7 +40,7 @@ FastSerializerHelper::~FastSerializerHelper() delete mpSerializer; } -void FastSerializerHelper::startElement(sal_Int32 elementTokenId, FSEND_t) +void FastSerializerHelper::startElement(sal_Int32 elementTokenId) { mpSerializer->startFastElement(elementTokenId); } @@ -52,7 +52,7 @@ void FastSerializerHelper::pushAttributeValue(sal_Int32 attribute, const OString { mpSerializer->getTokenValueList().emplace_back(attribute, value.getStr()); } -void FastSerializerHelper::singleElement(sal_Int32 elementTokenId, FSEND_t) +void FastSerializerHelper::singleElement(sal_Int32 elementTokenId) { mpSerializer->singleFastElement(elementTokenId); } |