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

coverity#1439598 Inferred misuse of enum

and

coverity#1439596 Inferred misuse of enum

Change-Id: I4edd08c46c714c3d513df5f9403ab29dfd0e2497
Reviewed-on: https://gerrit.libreoffice.org/60850Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst aef569ed
......@@ -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();
......
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