summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/XMLTrackedChangesContext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-09 12:51:35 +0200
committerNoel Grandin <noel@peralex.com>2013-12-09 12:53:18 +0200
commitc5b7a5fd191a8ec65a64980fe3197832dba1ffae (patch)
treea4da3b16cd52626274819345cfbac480b04eef52 /sc/source/filter/xml/XMLTrackedChangesContext.cxx
parentFollow-up Patch (diff)
downloadcore-c5b7a5fd191a8ec65a64980fe3197832dba1ffae.tar.gz
core-c5b7a5fd191a8ec65a64980fe3197832dba1ffae.zip
fix equalsAscii conversion. Noticed in fdo#72391
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
Diffstat (limited to 'sc/source/filter/xml/XMLTrackedChangesContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index db4b1ee3292f..e2af13224428 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -1816,7 +1816,7 @@ SvXMLImportContext *ScXMLDeletionContext::CreateChildContext( sal_uInt16 nPrefix
pContext = new ScXMLDependingsContext(GetScImport(), nPrefix, rLocalName, xAttrList, pChangeTrackingImportHelper);
else if (IsXMLToken(rLocalName, XML_DELETIONS))
pContext = new ScXMLDeletionsContext(GetScImport(), nPrefix, rLocalName, xAttrList, pChangeTrackingImportHelper);
- else if (IsXMLToken(rLocalName, XML_CUT_OFFS) || rLocalName.startsWith("cut_offs"))
+ else if (IsXMLToken(rLocalName, XML_CUT_OFFS) || rLocalName == "cut_offs")
pContext = new ScXMLCutOffsContext(GetScImport(), nPrefix, rLocalName, xAttrList, pChangeTrackingImportHelper);
else
{