summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 14:57:18 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit04a8ba2084950f998d791edad29739c124c8c4b8 (patch)
treedf1b3f1a5d5a56ff89300292ade6f6976e16b436 /accessibility
parenta1cd62bcd589a7c1050e327f4cb0ad95f9ea19d1 (diff)
convert ScrollType to scoped enum
Change-Id: I6dd02d4f7df028dada6cfd5d767a6ec1b1c1efe1
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/standard/vclxaccessiblescrollbar.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
index 516d41d5916c..6fdf4166a1d3 100644
--- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
@@ -138,11 +138,11 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw
ScrollType eScrollType;
switch ( nIndex )
{
- case 0: eScrollType = SCROLL_LINEUP; break;
- case 1: eScrollType = SCROLL_LINEDOWN; break;
- case 2: eScrollType = SCROLL_PAGEUP; break;
- case 3: eScrollType = SCROLL_PAGEDOWN; break;
- default: eScrollType = SCROLL_DONTKNOW; break;
+ case 0: eScrollType = ScrollType::LineUp; break;
+ case 1: eScrollType = ScrollType::LineDown; break;
+ case 2: eScrollType = ScrollType::PageUp; break;
+ case 3: eScrollType = ScrollType::PageDown; break;
+ default: eScrollType = ScrollType::DontKnow; break;
}
if ( pScrollBar->DoScrollAction( eScrollType ) )
bReturn = true;