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
This commit is contained in:
Caolán McNamara 2016-12-12 09:31:23 +00:00
parent 299c5f87ae
commit e9e1ccec47

View File

@ -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);