summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-20 14:05:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-22 06:32:35 +0000
commite929194317a7debb1c5467282230cbbabe61a710 (patch)
tree89f7bfe3a00003c0fa96113b77abbf76c92f80bf /dbaccess
parentedcd1d5a9c88455fd1d52ab25815fc8d439f31ec (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>
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;
}