summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
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 /sw/source/uibase/uiview/pview.cxx
parenta1cd62bcd589a7c1050e327f4cb0ad95f9ea19d1 (diff)
convert ScrollType to scoped enum
Change-Id: I6dd02d4f7df028dada6cfd5d767a6ec1b1c1efe1
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r--sw/source/uibase/uiview/pview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index 24423f52d76a..fb869051b73e 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1426,7 +1426,7 @@ IMPL_LINK_TYPED( SwPagePreview, ScrollHdl, ScrollBar *, p, void )
if(!GetViewShell())
return;
if( !pScrollbar->IsHoriScroll() &&
- pScrollbar->GetType() == SCROLL_DRAG &&
+ pScrollbar->GetType() == ScrollType::Drag &&
Help::IsQuickHelpEnabled() &&
GetViewShell()->PagePreviewLayout()->DoesPreviewLayoutRowsFitIntoWindow())
{