summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-04 09:37:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-04 12:52:15 +0100
commit0f89d964b272c2087dbc865bc0a60edfdde8551f (patch)
tree3e3d074d02e93ade639ae0beb143294fe433dc2c /sw/source/uibase/frmdlg
parentc4dba436df42cef4f0048994c38dc137266ebaf9 (diff)
coverity#1403732 Mixing enum types
and coverity#1403735 Mixing enum types coverity#1403737 Mixing enum types Change-Id: I278b7d5116d4157e6aa4483d8eef42325e4bc03b
Diffstat (limited to 'sw/source/uibase/frmdlg')
-rw-r--r--sw/source/uibase/frmdlg/frmmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx
index 7d32a309cf82..a710350cae40 100644
--- a/sw/source/uibase/frmdlg/frmmgr.cxx
+++ b/sw/source/uibase/frmdlg/frmmgr.cxx
@@ -247,7 +247,7 @@ void SwFlyFrameAttrMgr::ValidateMetrics( SvxSwFrameValidation& rVal,
// OD 18.09.2003 #i18732# - adjustment for allowing vertical position
// aligned to page for fly frame anchored to paragraph or to character.
- const RndStdIds eAnchorType = static_cast<RndStdIds >(rVal.nAnchorType);
+ const RndStdIds eAnchorType = rVal.nAnchorType;
const SwFormatFrameSize& rSize = static_cast<const SwFormatFrameSize&>(m_aSet.Get(RES_FRM_SIZE));
m_pOwnSh->CalcBoundRect( aBoundRect, eAnchorType,
rVal.nHRelOrient,