From e3ad062229c95a5cf987d562613d01738bb7fd81 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 18 Nov 2015 13:41:09 +0100 Subject: xmloff: legacy assert to SAL_INFO as it can only be triggered by ... invalid input files. Change-Id: I351302253169d32cd6a83ff63eb497d0069ab49b --- xmloff/source/core/i18nmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/core/i18nmap.cxx b/xmloff/source/core/i18nmap.cxx index 57c33a50bdb5..c297d2e6f9ea 100644 --- a/xmloff/source/core/i18nmap.cxx +++ b/xmloff/source/core/i18nmap.cxx @@ -26,7 +26,7 @@ bool SvI18NMap::Add( sal_uInt16 nKind, const OUString& rName, { SvI18NMapEntry_Key aKey(nKind, rName); bool bIsNewInsertion = m_aMap.insert(SvI18NMap_Impl::value_type(aKey, rNewName)).second; - DBG_ASSERT( bIsNewInsertion, "SvI18NMap::Add: item registered already" ); + SAL_INFO_IF(!bIsNewInsertion, "xmloff.core", "SvI18NMap::Add: item with key \"" << rName << "\" registered already, likely invalid input file"); return bIsNewInsertion; } -- cgit