summaryrefslogtreecommitdiff
path: root/vcl/source/window/menufloatingwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/menufloatingwindow.cxx')
-rw-r--r--vcl/source/window/menufloatingwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx
index bf7c255769b1..f9340105152e 100644
--- a/vcl/source/window/menufloatingwindow.cxx
+++ b/vcl/source/window/menufloatingwindow.cxx
@@ -1127,9 +1127,9 @@ void MenuFloatingWindow::ImplDrawScroller( bool bUp )
DecorationView aDecoView( this );
SymbolType eSymbol = bUp ? SymbolType::SPIN_UP : SymbolType::SPIN_DOWN;
- sal_uInt16 nStyle = 0;
+ DrawSymbolFlags nStyle = DrawSymbolFlags::NONE;
if ( ( bUp && !bScrollUp ) || ( !bUp && !bScrollDown ) )
- nStyle |= SYMBOL_DRAW_DISABLE;
+ nStyle |= DrawSymbolFlags::Disable;
aDecoView.DrawSymbol( aRect, eSymbol, GetSettings().GetStyleSettings().GetButtonTextColor(), nStyle );