diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index 088729aaf051..73fff95d831d 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -376,7 +376,7 @@ void XMLFile::InsertL10NElement( XMLElement* pElement ) else // Already there { pElem=pos->second; - if ( (*pElem)[ sLanguage ] ) + if ( pElem->count(sLanguage) ) { fprintf(stdout,"Error: Duplicated entry. ID = %s LANG = %s in File %s\n", sId.getStr(), sLanguage.getStr(), m_sFileName.getStr() ); exit( -1 ); |