summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLStarBasicExportHandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-07 12:14:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 12:39:20 +0200
commitdaf177f703081d7afaa9b1701cf187c9a3e93ee5 (patch)
tree32e5bc14b5707777795ac26089c402cc3e93c2e3 /xmloff/source/script/XMLStarBasicExportHandler.cxx
parent3ef7e85deb7afde6c9453c30be0a7893528a90a1 (diff)
use more OUString::operator== in test..xmlsecurity
Change-Id: If5bdd1532be44a47ff7cc3b769be3ea585aea562 Reviewed-on: https://gerrit.libreoffice.org/39685 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/script/XMLStarBasicExportHandler.cxx')
-rw-r--r--xmloff/source/script/XMLStarBasicExportHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/script/XMLStarBasicExportHandler.cxx b/xmloff/source/script/XMLStarBasicExportHandler.cxx
index 3e18bbd40128..d0c05bfa846d 100644
--- a/xmloff/source/script/XMLStarBasicExportHandler.cxx
+++ b/xmloff/source/script/XMLStarBasicExportHandler.cxx
@@ -60,7 +60,7 @@ void XMLStarBasicExportHandler::Export(
sal_Int32 nCount = rValues.getLength();
for(sal_Int32 i = 0; i < nCount; i++)
{
- if (sLibrary.equals(rValues[i].Name))
+ if (sLibrary == rValues[i].Name)
{
OUString sTmp;
rValues[i].Value >>= sTmp;
@@ -69,7 +69,7 @@ void XMLStarBasicExportHandler::Export(
sTmp.equalsIgnoreAsciiCase(sStarOffice) ) ? XML_APPLICATION
: XML_DOCUMENT );
}
- else if (sMacroName.equals(rValues[i].Name))
+ else if (sMacroName == rValues[i].Name)
{
rValues[i].Value >>= sName;
}