diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 09:06:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-21 13:52:38 +0200 |
commit | 360d504464f68c031359026b15ccce38e797f220 (patch) | |
tree | 188eff8c09612a04d5ef70a736d6c74963e86b8b /sw/source/uibase | |
parent | aef569ed83a3ccc02639e5b2a1c7cc131ba262fc (diff) |
coverity#1439598 Inferred misuse of enum
and
coverity#1439596 Inferred misuse of enum
Change-Id: I4edd08c46c714c3d513df5f9403ab29dfd0e2497
Reviewed-on: https://gerrit.libreoffice.org/60850
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/config/modcfg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index fcae5c9a67f3..fd8f9eeef127 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -249,9 +249,11 @@ SwRevisionConfig::SwRevisionConfig() : m_aInsertAttr.m_nAttr = LINESTYLE_SINGLE; m_aInsertAttr.m_nColor = COL_TRANSPARENT; m_aDeletedAttr.m_nItemId = SID_ATTR_CHAR_STRIKEOUT; + // coverity[mixed_enums : FALSE] - unhelpfully warns different enum than LINESTYLE_SINGLE above m_aDeletedAttr.m_nAttr = STRIKEOUT_SINGLE; m_aDeletedAttr.m_nColor = COL_TRANSPARENT; m_aFormatAttr.m_nItemId = SID_ATTR_CHAR_WEIGHT; + // coverity[mixed_enums : FALSE] - unhelpfully warns different enum than STRIKEOUT_SINGLE above m_aFormatAttr.m_nAttr = WEIGHT_BOLD; m_aFormatAttr.m_nColor = COL_BLACK; Load(); |