summaryrefslogtreecommitdiff
path: root/xmloff/source/transform
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/transform
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/transform')
-rw-r--r--xmloff/source/transform/DlgOASISTContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/transform/DlgOASISTContext.cxx b/xmloff/source/transform/DlgOASISTContext.cxx
index 0397c3746cb7..31e9400c9bfc 100644
--- a/xmloff/source/transform/DlgOASISTContext.cxx
+++ b/xmloff/source/transform/DlgOASISTContext.cxx
@@ -77,9 +77,9 @@ void XMLDlgOASISTransformerContext::StartElement(
{
case XML_ATACTION_DLG_BORDER:
{
- if ( !rAttrValue.equals( GetXMLToken( XML_NONE ) ) &&
- !rAttrValue.equals( GetXMLToken( XML_SIMPLE ) ) &&
- !rAttrValue.equals( GetXMLToken( XML_3D ) ) )
+ if ( rAttrValue != GetXMLToken( XML_NONE ) &&
+ rAttrValue != GetXMLToken( XML_SIMPLE ) &&
+ rAttrValue != GetXMLToken( XML_3D ) )
{
pMutableAttrList->SetValueByIndex(
i, GetXMLToken( XML_NONE ) );