summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-06-01 20:58:44 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-04 08:29:44 +0000
commit407c6c871ea53d9fb97c50e1ee24db7a8e5d70e1 (patch)
treedef66e4a10d904cb5d2a7df58f764c94da77e69c /sw/source/ui/frmdlg
parentbf98e6acde066ce3d204c3cdcfbd06ec70f7f17d (diff)
replace FLYPROTECT with scoped enum
Change-Id: I665d2944f5d24b4ec5015274c1b95b106a028291 Reviewed-on: https://gerrit.libreoffice.org/16072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index f756ad9c32ed..ae47f510baf8 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2161,7 +2161,7 @@ void SwFrmPage::Init(const SfxItemSet& rSet, bool bReset)
SwWrtShell* pSh = getFrmDlgParentShell();
// size
- const bool bSizeFixed = pSh->IsSelObjProtected( FLYPROTECT_FIXED );
+ const bool bSizeFixed = pSh->IsSelObjProtected( FlyProtectFlags::Fixed ) != FlyProtectFlags::NONE;
m_aWidthED .Enable( !bSizeFixed );
m_aHeightED.Enable( !bSizeFixed );