summaryrefslogtreecommitdiff
path: root/oox/source/mathml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-19 11:32:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-19 11:32:20 +0100
commit4c0c23af21db0b72541674c2352df04f48774e81 (patch)
treefe5697fbc7f793de73531e50711c5b39d9825923 /oox/source/mathml
parent8f2cf65ec9a450441b92ed1f638eda26231a9be7 (diff)
Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
Diffstat (limited to 'oox/source/mathml')
-rw-r--r--oox/source/mathml/importutils.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx
index 5350d5846bf1..6d44cf07f000 100644
--- a/oox/source/mathml/importutils.cxx
+++ b/oox/source/mathml/importutils.cxx
@@ -128,15 +128,15 @@ bool XmlStream::AttributeList::attribute( int token, bool def ) const
if( find != attrs.end())
{
const OUString sValue = find->second;
- if( sValue.equalsIgnoreAsciiCaseAscii("true") ||
- sValue.equalsIgnoreAsciiCaseAscii("on") ||
- sValue.equalsIgnoreAsciiCaseAscii("t") ||
- sValue.equalsIgnoreAsciiCaseAscii("1") )
+ if( sValue.equalsIgnoreAsciiCase("true") ||
+ sValue.equalsIgnoreAsciiCase("on") ||
+ sValue.equalsIgnoreAsciiCase("t") ||
+ sValue.equalsIgnoreAsciiCase("1") )
return true;
- if( sValue.equalsIgnoreAsciiCaseAscii("false") ||
- sValue.equalsIgnoreAsciiCaseAscii("off") ||
- sValue.equalsIgnoreAsciiCaseAscii("f") ||
- sValue.equalsIgnoreAsciiCaseAscii("0") )
+ if( sValue.equalsIgnoreAsciiCase("false") ||
+ sValue.equalsIgnoreAsciiCase("off") ||
+ sValue.equalsIgnoreAsciiCase("f") ||
+ sValue.equalsIgnoreAsciiCase("0") )
return false;
SAL_WARN( "oox.xmlstream", "Cannot convert \'" << sValue << "\' to bool." );
}