summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
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 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index e444861d5b77..571067e061d6 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -619,7 +619,7 @@ void OJoinTableView::BeginChildMove( OTableWindow* pTabWin, const Point& rMouseP
return;
m_pDragWin = pTabWin;
- SetPointer(Pointer(POINTER_MOVE));
+ SetPointer(Pointer(PointerStyle::Move));
Point aMousePos = ScreenToOutputPixel( rMousePos );
m_aDragOffset = aMousePos - pTabWin->GetPosPixel();
m_pDragWin->SetZOrder(NULL, WINDOW_ZORDER_FIRST);
@@ -767,7 +767,7 @@ void OJoinTableView::Tracking( const TrackingEvent& rTEvt )
m_pDragWin->GrabFocus();
}
m_pDragWin = NULL;
- SetPointer(Pointer(POINTER_ARROW));
+ SetPointer(Pointer(PointerStyle::Arrow));
}
// else we handle the resizing
else if( m_pSizingWin )
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index 971ff21bf21f..8448027032eb 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -420,22 +420,22 @@ void OTableWindow::MouseMove( const MouseEvent& rEvt )
{
case SIZING_TOP:
case SIZING_BOTTOM:
- aPointer = Pointer( POINTER_SSIZE );
+ aPointer = Pointer( PointerStyle::SSize );
break;
case SIZING_LEFT:
case SIZING_RIGHT:
- aPointer = Pointer( POINTER_ESIZE );
+ aPointer = Pointer( PointerStyle::ESize );
break;
case SIZING_LEFT+SIZING_TOP:
case SIZING_RIGHT+SIZING_BOTTOM:
- aPointer = Pointer( POINTER_SESIZE );
+ aPointer = Pointer( PointerStyle::SESize );
break;
case SIZING_RIGHT+SIZING_TOP:
case SIZING_LEFT+SIZING_BOTTOM:
- aPointer = Pointer( POINTER_NESIZE );
+ aPointer = Pointer( PointerStyle::NESize );
break;
}