Kaydet (Commit) 3a667101 authored tarafından Armin Le Grand's avatar Armin Le Grand

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
üst 7a2b7693
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment