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

coverity#1358391 Inferred misuse of enum

might be good to change nId to the enum and use the enums then

Change-Id: I302f13fd960227e682f98ce2946b8567442641da
üst 617bbc9d
...@@ -895,7 +895,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes) ...@@ -895,7 +895,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes)
return aF.nLen; return aF.nLen;
bool bHasHandler = aWW8FieldTab[aF.nId] != nullptr; bool bHasHandler = aWW8FieldTab[aF.nId] != nullptr;
if (aF.nId == ww::eSTYLEREF) if (aF.nId == 10) // STYLEREF
{ {
// STYLEREF, by default these are not handled. // STYLEREF, by default these are not handled.
bHasHandler = false; bHasHandler = false;
......
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