Kaydet (Commit) e9e1ccec authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst 299c5f87
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment