diff options
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 27b9f6976a42..297572e2eeca 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3095,16 +3095,16 @@ Rectangle Window::ImplGetWindowExtentsRelative( vcl::Window *pRelativeWindow, bo return Rectangle( aPos, aSize ); } -void Window::Scroll( long nHorzScroll, long nVertScroll, sal_uInt16 nFlags ) +void Window::Scroll( long nHorzScroll, long nVertScroll, ScrollFlags nFlags ) { ImplScroll( Rectangle( Point( mnOutOffX, mnOutOffY ), Size( mnOutWidth, mnOutHeight ) ), - nHorzScroll, nVertScroll, nFlags & ~SCROLL_CLIP ); + nHorzScroll, nVertScroll, nFlags & ~ScrollFlags::Clip ); } void Window::Scroll( long nHorzScroll, long nVertScroll, - const Rectangle& rRect, sal_uInt16 nFlags ) + const Rectangle& rRect, ScrollFlags nFlags ) { OutputDevice *pOutDev = GetOutDev(); |