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

coverity#1343621 Constant expression result

and

coverity#1343622 Logically dead code

Change-Id: I30e5dd8a12941a7eb37520a385a63ac2b46731cc
üst e2ed122f
......@@ -175,7 +175,7 @@ struct AnnotatingVisitor
void operator()( const uno::Reference<xml::dom::XElement>& xElem)
{
const sal_Int32 nTagId(getTokenId(xElem->getTagName()));
if (nTagId != XML_TEXT || nTagId != XML_TSPAN)
if (nTagId != XML_TEXT && nTagId != XML_TSPAN)
return;
maCurrState = maParentStates.back();
......
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