summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorackepenek <ahmetcan.kepenek@gmail.com>2016-02-21 05:33:45 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-21 17:02:45 +0000
commitc621c3f5e115c90249319ef98e1e33e9fd603c9e (patch)
tree27c63b59c3985fda3066213b3063c2b5f45b9d42 /sw/source/uibase/wrtsh
parentf4e13bc973ed50bed80f2833dc8e5bc7a69bb44e (diff)
tdf#84938 replace FRMMGR_TYPE_ with enum
Change-Id: I899b57a485b83cd7c10ddc5192c92b4c87fe583a Reviewed-on: https://gerrit.libreoffice.org/22582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index b03c8926bdec..6a089eccc51f 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -268,7 +268,7 @@ void SwWrtShell::Insert( const OUString &rPath, const OUString &rFilter,
if ( !pFrameMgr )
{
bOwnMgr = true;
- pFrameMgr = new SwFlyFrameAttrMgr( true, this, FRMMGR_TYPE_GRF );
+ pFrameMgr = new SwFlyFrameAttrMgr( true, this, Frmmgr_Type::GRF );
// CAUTION
// GetAttrSet makes an adjustment
@@ -498,7 +498,7 @@ bool SwWrtShell::InsertOleObject( const svt::EmbeddedObjectRef& xRef, SwFlyFrame
EnterSelFrameMode();
- SwFlyFrameAttrMgr aFrameMgr( true, this, FRMMGR_TYPE_OLE );
+ SwFlyFrameAttrMgr aFrameMgr( true, this, Frmmgr_Type::OLE );
aFrameMgr.SetHeightSizeType(ATT_FIX_SIZE);
SwRect aBound;