summaryrefslogtreecommitdiff
path: root/reportdesign
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 /reportdesign
parent7f4402c6fcdac3e483343ab64b10613094de1f9e (diff)
convert SCROLL constants to scoped enum
(cherry picked from commit 204d147b8a887d17e6457f795e8b8f4d632213ae) Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index fd73cb768d8b..89cb961710af 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -1740,7 +1740,7 @@ void OViewsWindow::scrollChildren(const Point& _aThumbPos)
aMapMode.SetOrigin( Point(aOld.X() , - aPosY.Y()));
SetMapMode( aMapMode );
- Scroll(0, -( aOld.Y() + aPosY.Y()),SCROLL_CHILDREN);
+ Scroll(0, -( aOld.Y() + aPosY.Y()),ScrollFlags::Children);
}
TSectionsMap::iterator aIter = m_aSections.begin();