summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-20 14:05:50 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-29 20:16:52 +0200
commit118da1a52a74c602ecacec9ffb163b93589cf6e1 (patch)
tree9fc08877a716ce679440eae63a5e7a59a6c465eb /reportdesign
parent66b8dfdc4d1f689d98652cdb52902a2582e801ee (diff)
convert POINTER constants to scoped enum
Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/dlgedfunc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx
index 6182625745e6..6b7791a306e0 100644
--- a/reportdesign/source/ui/report/dlgedfunc.cxx
+++ b/reportdesign/source/ui/report/dlgedfunc.cxx
@@ -631,14 +631,14 @@ bool DlgEdFunc::setMovementPointer(const MouseEvent& rMEvt)
{
bool bIsSetPoint = isRectangleHit(rMEvt);
if ( bIsSetPoint )
- m_pParent->SetPointer( Pointer(POINTER_NOTALLOWED));
+ m_pParent->SetPointer( Pointer(PointerStyle::NotAllowed));
else
{
bool bCtrlKey = rMEvt.IsMod1();
(void)bCtrlKey;
if (bCtrlKey)
{
- m_pParent->SetPointer( Pointer(POINTER_MOVEDATALINK ));
+ m_pParent->SetPointer( Pointer(PointerStyle::MoveDataLink ));
bIsSetPoint = true;
}
}