diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 10:54:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 15:41:59 +0100 |
commit | b5a33af1989b92285c89cc108806f296afea33c7 (patch) | |
tree | 9751192b36f58d694dca004ab72ab5f731e23ed7 /sw | |
parent | 617bbc9da95f7e4b13e3a999fd3085a4fee23ae4 (diff) |
coverity#1358391 Inferred misuse of enum
might be good to change nId to the enum and use the enums then
Change-Id: I302f13fd960227e682f98ce2946b8567442641da
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 5e8bccc32dba..957006cec5cb 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -895,7 +895,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes) return aF.nLen; bool bHasHandler = aWW8FieldTab[aF.nId] != nullptr; - if (aF.nId == ww::eSTYLEREF) + if (aF.nId == 10) // STYLEREF { // STYLEREF, by default these are not handled. bHasHandler = false; |