summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 13:23:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-20 07:41:29 +0100
commite725836ec19858be83bf6f7f251dd52dbcdf31d6 (patch)
treeec8aafe6e546a35dff6c3349e9644a6d6b94eea9 /xmloff/source/core
parent73139fe600fc1399ae828077981a2498cb0a0b0c (diff)
loplugin:unused-returns in filter,tools,xmloff
Change-Id: I7a57be7e241883adac4417baa699a97d6304a631 Reviewed-on: https://gerrit.libreoffice.org/48188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/i18nmap.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/core/i18nmap.cxx b/xmloff/source/core/i18nmap.cxx
index cc8ad3682bbf..85bd293cb775 100644
--- a/xmloff/source/core/i18nmap.cxx
+++ b/xmloff/source/core/i18nmap.cxx
@@ -20,13 +20,12 @@
#include <rtl/ustring.hxx>
#include <xmloff/i18nmap.hxx>
-bool SvI18NMap::Add( sal_uInt16 nKind, const OUString& rName,
+void SvI18NMap::Add( sal_uInt16 nKind, const OUString& rName,
const OUString& rNewName )
{
SvI18NMapEntry_Key aKey(nKind, rName);
bool bIsNewInsertion = m_aMap.emplace(aKey, rNewName).second;
SAL_INFO_IF(!bIsNewInsertion, "xmloff.core", "SvI18NMap::Add: item with key \"" << rName << "\" registered already, likely invalid input file");
- return bIsNewInsertion;
}
const OUString& SvI18NMap::Get( sal_uInt16 nKind, const OUString& rName ) const