diff options
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/scrwin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index 09d32acecfc6..44dbf55d8dea 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -24,9 +24,9 @@ void ScrollableWindow::ImpInitialize( ScrollableWindowFlags nFlags ) { - bHandleDragging = (bool) ( nFlags & SCRWIN_THUMBDRAGGING ); - bVCenter = (nFlags & SCRWIN_VCENTER) == SCRWIN_VCENTER; - bHCenter = (nFlags & SCRWIN_HCENTER) == SCRWIN_HCENTER; + bHandleDragging = bool( nFlags & ScrollableWindowFlags::THUMBDRAGGING ); + bVCenter = bool(nFlags & ScrollableWindowFlags::VCENTER); + bHCenter = bool(nFlags & ScrollableWindowFlags::HCENTER); bScrolling = false; // set the handlers for the scrollbars |