summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-12 09:31:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-12 09:31:52 +0000
commite9e1ccec47d02dd43c46a6095caa27d19e7f23fb (patch)
tree2ccd7a17a90bf83e904503e61c26511af61e00b2 /xmloff
parent299c5f87aeef5670e88ab226d9cf9825165d8705 (diff)
coverity#1397053 Logically dead code (golden)
and coverity#1397055 Inferred misuse of enum copy and paste error from the other converted call site I bet Change-Id: I63701db153c5fd424374a95dd757d9fd7a8bc216
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 06da069564ea..c5f411d72494 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2294,9 +2294,9 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
case XML_TOK_TEXT_CHANGE_END:
pContext = new XMLChangeImportContext(
rImport, nPrefix, rLocalName,
- ((nToken == XML_TOK_TEXTP_CHANGE_END)
+ ((nToken == XML_TOK_TEXT_CHANGE_END)
? XMLChangeImportContext::Element::END
- : (nToken == XML_TOK_TEXTP_CHANGE_START)
+ : (nToken == XML_TOK_TEXT_CHANGE_START)
? XMLChangeImportContext::Element::START
: XMLChangeImportContext::Element::POINT),
true);