summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2018-05-17 19:58:17 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2018-05-17 20:04:54 +0200
commit3a667101987ccbc75024942d779c8c62a4d0a296 (patch)
tree04fd6d666e934f4e7f91bc410f2aa251a05dcd08 /sd
parent7a2b7693452dec3d30778301ae3a294bfaed344b (diff)
Fixed PageObjectLayouter
Someone removed maPageObjectSize in PageObjectLayouter and replaced it with the local var aPageObjectSize. This workms in principle, but was forgotten in one line where maFocusIndicatorBoundingBox gets set. Since the incoming rPageObjectWindowSize only has one value set (width or height) and the other one gets set in the call to CalculatePreviewBoundingBox, the whole layouting/visualization of SlideSorter and SlideView in Draw/Impress was broken. Fixed that - please be more careful with those changes in the future - take a look at the app where you do changes. Change-Id: I6bd9f8b11e7ebc7b880e465b80b813f5e2173c8c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
index 772506259d26..7b373be669dd 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
@@ -61,7 +61,7 @@ PageObjectLayouter::PageObjectLayouter (
Size(rPageSize.Width(), rPageSize.Height()),
aPageNumberAreaSize.Width(),
nFocusIndicatorWidth);
- maFocusIndicatorBoundingBox = ::tools::Rectangle(Point(0,0), rPageObjectWindowSize);
+ maFocusIndicatorBoundingBox = ::tools::Rectangle(Point(0,0), aPageObjectSize);
maPageObjectBoundingBox = ::tools::Rectangle(
Point(
nFocusIndicatorWidth,