diff options
Diffstat (limited to 'oox/source/mathml')
-rw-r--r-- | oox/source/mathml/importutils.cxx | 16 |
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." ); } |