summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/XMLAxisPositionPropertyHdl.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/chart/XMLAxisPositionPropertyHdl.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/chart/XMLAxisPositionPropertyHdl.cxx')
-rw-r--r--xmloff/source/chart/XMLAxisPositionPropertyHdl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/chart/XMLAxisPositionPropertyHdl.cxx b/xmloff/source/chart/XMLAxisPositionPropertyHdl.cxx
index 2f876e9dc8c5..6508031bad93 100644
--- a/xmloff/source/chart/XMLAxisPositionPropertyHdl.cxx
+++ b/xmloff/source/chart/XMLAxisPositionPropertyHdl.cxx
@@ -46,7 +46,7 @@ bool XMLAxisPositionPropertyHdl::importXML( const OUString& rStrImpValue,
{
bool bResult = false;
- if( rStrImpValue.equals( GetXMLToken(XML_START) ) )
+ if( rStrImpValue == GetXMLToken(XML_START) )
{
if( !m_bCrossingValue )
{
@@ -54,7 +54,7 @@ bool XMLAxisPositionPropertyHdl::importXML( const OUString& rStrImpValue,
bResult = true;
}
}
- else if( rStrImpValue.equals( GetXMLToken(XML_END) ) )
+ else if( rStrImpValue == GetXMLToken(XML_END) )
{
if( !m_bCrossingValue )
{
@@ -62,7 +62,7 @@ bool XMLAxisPositionPropertyHdl::importXML( const OUString& rStrImpValue,
bResult = true;
}
}
- else if( rStrImpValue.equals( GetXMLToken(XML_0) ) )
+ else if( rStrImpValue == GetXMLToken(XML_0) )
{
if( !m_bCrossingValue )
{