summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtvfldi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtvfldi.cxx')
-rw-r--r--xmloff/source/text/txtvfldi.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 6ab8937e9a5a..bbf1fd533cf5 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -740,8 +740,7 @@ void XMLTableFormulaImportContext::ProcessAttribute(
aValueHelper.ProcessAttribute( nAttrToken, sAttrValue );
break;
case XML_TOK_TEXTFIELD_DISPLAY:
- if ( sAttrValue.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("formula")) )
+ if ( sAttrValue == "formula" )
bIsShowFormula = sal_True;
break;
default: