diff options
Diffstat (limited to 'sw/source/uibase/frmdlg/frmmgr.cxx')
-rw-r--r-- | sw/source/uibase/frmdlg/frmmgr.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx index 87e8a3fef1d8..ba0c9add56c1 100644 --- a/sw/source/uibase/frmdlg/frmmgr.cxx +++ b/sw/source/uibase/frmdlg/frmmgr.cxx @@ -180,8 +180,7 @@ void SwFlyFrameAttrMgr::InsertFlyFrame() // Not-allowed values of the enumeration type get corrected. void SwFlyFrameAttrMgr::InsertFlyFrame(RndStdIds eAnchorType, const Point &rPos, - const Size &rSize, - bool bAbs ) + const Size &rSize ) { OSL_ENSURE( eAnchorType == FLY_AT_PAGE || eAnchorType == FLY_AT_PARA || @@ -189,10 +188,7 @@ void SwFlyFrameAttrMgr::InsertFlyFrame(RndStdIds eAnchorType, eAnchorType == FLY_AT_FLY || eAnchorType == FLY_AS_CHAR, "invalid frame type" ); - if ( bAbs ) - SetAbsPos( rPos ); - else - SetPos( rPos ); + SetPos( rPos ); SetSize( rSize ); SetAnchor( eAnchorType ); |