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/uibase/uiview/viewdraw.cxx | |
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/uibase/uiview/viewdraw.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewdraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 36d5907f69a6..7540776fb21c 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -492,7 +492,7 @@ bool SwView::EnterDrawTextMode(const Point& aDocPos) ( pObj->ISA(SwDrawVirtObj) && static_cast<SwDrawVirtObj*>(pObj)->GetReferencedObj().ISA(SdrTextObj) ) ) && - !m_pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT)) + m_pWrtShell->IsSelObjProtected(FlyProtectFlags::Content) == FlyProtectFlags::NONE ) { // Refuse to edit editeng text of the shape if it has textbox attached. if (!lcl_isTextBox(pObj)) |