From 1fe24bb1e2fbe44a4bf2c03297e259b3a18b1235 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 19 Apr 2019 02:24:00 +0300 Subject: 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 --- sax/source/tools/fshelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sax') 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); } -- cgit