summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-03 10:24:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-03 10:39:02 +0100
commit6eabb8fc773b73321705d7a3e52bbe6d6fd7e48f (patch)
tree0db296d87c2809c0014699eb355ca49b9c7ffaaf /sw
parentaa434253d2c5694b074fd774752f5407b8d491d1 (diff)
coverity#1403734 Mixing enum types
Change-Id: I46a9a85e7f70502f703ee9fb0f94abd83952d120
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/frmdlg/wrap.cxx2
1 files changed, 1 insertions, 1 deletions
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;