diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-01 20:58:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-04 08:29:44 +0000 |
commit | 407c6c871ea53d9fb97c50e1ee24db7a8e5d70e1 (patch) | |
tree | def66e4a10d904cb5d2a7df58f764c94da77e69c /sw/source/ui/frmdlg | |
parent | bf98e6acde066ce3d204c3cdcfbd06ec70f7f17d (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.cxx | 2 |
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 ); |