diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 10:24:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 10:39:02 +0100 |
commit | 6eabb8fc773b73321705d7a3e52bbe6d6fd7e48f (patch) | |
tree | 0db296d87c2809c0014699eb355ca49b9c7ffaaf | |
parent | aa434253d2c5694b074fd774752f5407b8d491d1 (diff) |
coverity#1403734 Mixing enum types
Change-Id: I46a9a85e7f70502f703ee9fb0f94abd83952d120
-rw-r--r-- | cui/source/tabpages/swpossizetabpage.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/wrap.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index 4e669fd6dcf3..fc6c0e3f4b3f 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -1147,6 +1147,7 @@ IMPL_LINK_NOARG(SvxSwPosSizeTabPage, RangeModifyClickHdl, Button*, void) { RangeModifyHdl(*m_pWidthMF); } + IMPL_LINK_NOARG(SvxSwPosSizeTabPage, RangeModifyHdl, Control&, void) { if(m_bPositioningDisabled) diff --git a/sw/source/ui/frmdlg/wrap.cxx b/sw/source/ui/frmdlg/wrap.cxx index f70090a1cba6..2f10d4a566e9 100644 --- a/sw/source/ui/frmdlg/wrap.cxx +++ b/sw/source/ui/frmdlg/wrap.cxx @@ -461,7 +461,7 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet) nBottom = aVal.nMaxHeight - aVal.nHeight; { - if (aVal.nAnchorType == (css::text::TextContentAnchorType)RndStdIds::FLY_AS_CHAR) + if (aVal.nAnchorType == css::text::TextContentAnchorType_AS_CHARACTER) { nLeft = nRight; |