summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
parenta1cd62bcd589a7c1050e327f4cb0ad95f9ea19d1 (diff)
convert ScrollType to scoped enum
Change-Id: I6dd02d4f7df028dada6cfd5d767a6ec1b1c1efe1
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 83c2c562225b..d3b655616d6f 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -3699,15 +3699,15 @@ void VCLXScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// set adjustment type
ScrollType aType = pScrollBar->GetType();
- if ( aType == SCROLL_LINEUP || aType == SCROLL_LINEDOWN )
+ if ( aType == ScrollType::LineUp || aType == ScrollType::LineDown )
{
aEvent.Type = css::awt::AdjustmentType_ADJUST_LINE;
}
- else if ( aType == SCROLL_PAGEUP || aType == SCROLL_PAGEDOWN )
+ else if ( aType == ScrollType::PageUp || aType == ScrollType::PageDown )
{
aEvent.Type = css::awt::AdjustmentType_ADJUST_PAGE;
}
- else if ( aType == SCROLL_DRAG )
+ else if ( aType == ScrollType::Drag )
{
aEvent.Type = css::awt::AdjustmentType_ADJUST_ABS;
}