diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-25 14:53:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-26 09:45:44 +0100 |
commit | a916adba23e81c8c661369d2c06fbe9c6714d9c2 (patch) | |
tree | 21d643a0376c29a4fb5efcdcdef6ccd75f7b1b57 /l10ntools/source/xmlparse.cxx | |
parent | 6dfcabf54a86f7204b4924718a930be5d13b1eeb (diff) |
loplugin:stringliteraldefine in l10ntools..oox
Change-Id: Ia19d247f3cf439405c05a53c4cf2c9d0e7344560
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125811
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source/xmlparse.cxx')
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index bb37352f71dc..d533d8db07ba 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -251,7 +251,7 @@ void XMLFile::Print( XMLNode *pCur, sal_uInt16 nLevel ) for (size_t j = 0; j < pElement->GetAttributeList()->size(); ++j) { const OString aAttrName((*pElement->GetAttributeList())[j]->GetName()); - if (!aAttrName.equalsIgnoreAsciiCase(XML_LANG)) + if (aAttrName != XML_LANG) { fprintf( stdout, " %s=\"%s\"", aAttrName.getStr(), @@ -671,7 +671,7 @@ void XMLElement::Print(XMLNode *pCur, OStringBuffer& rBuffer, bool bRootelement for ( size_t j = 0; j < pElement->GetAttributeList()->size(); j++ ) { const OString aAttrName( (*pElement->GetAttributeList())[ j ]->GetName() ); - if (!aAttrName.equalsIgnoreAsciiCase(XML_LANG)) + if (aAttrName != XML_LANG) { rBuffer.append( " " + aAttrName + "=\"" + |