diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 6 |
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; } |