summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-26 08:29:52 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 22:07:57 -0500
commit4a650fbcb3836204797c2cbd3ee553acb3b02eb5 (patch)
treefbc3b0ac9bfd1739b5728c1bf946ce41c9cb0558 /editeng/source
parent7f4402c6fcdac3e483343ab64b10613094de1f9e (diff)
convert SCROLL constants to scoped enum
(cherry picked from commit 204d147b8a887d17e6457f795e8b8f4d632213ae) Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 5ac794a3fb2f..63628a8cd2a5 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1100,7 +1100,7 @@ Pair ImpEditView::Scroll( long ndX, long ndY, sal_uInt8 nRangeCheck )
aVisDocStartPos = pOutWin->LogicToPixel( aVisDocStartPos );
aVisDocStartPos = pOutWin->PixelToLogic( aVisDocStartPos );
Rectangle aRect( aOutArea );
- pOutWin->Scroll( nRealDiffX, nRealDiffY, aRect, SCROLL_CLIP );
+ pOutWin->Scroll( nRealDiffX, nRealDiffY, aRect, ScrollFlags::Clip );
if (comphelper::LibreOfficeKit::isActive())
// Need to invalidate the window, otherwise no tile will be re-painted.