summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmldrani.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmldrani.cxx')
-rw-r--r--sc/source/filter/xml/xmldrani.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx
index 97483e3d6433..9478b0ca73a5 100644
--- a/sc/source/filter/xml/xmldrani.cxx
+++ b/sc/source/filter/xml/xmldrani.cxx
@@ -860,7 +860,7 @@ ScXMLSortGroupsContext::ScXMLSortGroupsContext( ScXMLImport& rImport,
if (sValue.getLength() > 8)
{
OUString sTemp = sValue.copy(0, 8);
- if (sTemp.compareToAscii(SC_USERLIST) == 0)
+ if (sTemp.equalsAscii(SC_USERLIST))
{
pDatabaseRangeContext->SetSubTotalsEnabledUserList(true);
sTemp = sValue.copy(8);