diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-20 14:05:50 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-29 20:16:52 +0200 |
commit | 118da1a52a74c602ecacec9ffb163b93589cf6e1 (patch) | |
tree | 9fc08877a716ce679440eae63a5e7a59a6c465eb /sc/source/ui/dbgui | |
parent | 66b8dfdc4d1f689d98652cdb52902a2582e801ee (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 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/csvruler.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/scuiasciiopt.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx index a8f172a263de..fb139634a1a2 100644 --- a/sc/source/ui/dbgui/csvruler.cxx +++ b/sc/source/ui/dbgui/csvruler.cxx @@ -649,7 +649,7 @@ void ScCsvRuler::ImplDrawTrackingRect() void ScCsvRuler::ImplSetMousePointer( sal_Int32 nPos ) { - SetPointer( Pointer( HasSplit( nPos ) ? POINTER_HSPLIT : POINTER_ARROW ) ); + SetPointer( Pointer( HasSplit( nPos ) ? PointerStyle::HSplit : PointerStyle::Arrow ) ); } // accessibility ============================================================== diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index e63ac13b4abb..5f990a93a712 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -664,12 +664,12 @@ IMPL_LINK( ScImportAsciiDlg, RbSepFixHdl, RadioButton*, pButton ) if( (pButton == pRbFixed) || (pButton == pRbSeparated) ) { - SetPointer( Pointer( POINTER_WAIT ) ); + SetPointer( Pointer( PointerStyle::Wait ) ); if( pRbFixed->IsChecked() ) mpTableBox->SetFixedWidthMode(); else mpTableBox->SetSeparatorsMode(); - SetPointer( Pointer( POINTER_ARROW ) ); + SetPointer( Pointer( PointerStyle::Arrow ) ); SetupSeparatorCtrls(); } @@ -707,7 +707,7 @@ IMPL_LINK( ScImportAsciiDlg, CharSetHdl, SvxTextEncodingBox*, pCharSetBox ) if( (pCharSetBox == pLbCharSet) && (pCharSetBox->GetSelectEntryCount() == 1) ) { - SetPointer( Pointer( POINTER_WAIT ) ); + SetPointer( Pointer( PointerStyle::Wait ) ); rtl_TextEncoding eOldCharSet = meCharSet; SetSelectedCharSet(); // switching char-set invalidates 8bit -> String conversions @@ -715,7 +715,7 @@ IMPL_LINK( ScImportAsciiDlg, CharSetHdl, SvxTextEncodingBox*, pCharSetBox ) UpdateVertical(); mpTableBox->Execute( CSVCMD_NEWCELLTEXTS ); - SetPointer( Pointer( POINTER_ARROW ) ); + SetPointer( Pointer( PointerStyle::Arrow ) ); } return 0; } |