summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorAndre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com>2010-08-04 13:04:47 +0200
committerAndre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com>2010-08-04 13:04:47 +0200
commit80ca59e424f692f0d014527200fdd5cc5d51f8db (patch)
tree575f07ebcb9b11f7f1e8386f1b62a5140fddd6b8 /sd/source/ui
parent6f6a64b2eacda800da0385263d73dece97a80c41 (diff)
renaissance1: #i107215# Fixed 64bit compilation problem.
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
index 0c3fe9dd2f4d..d798fa27accb 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
@@ -83,9 +83,9 @@ PageObjectLayouter::PageObjectLayouter (
maPageNumberAreaBoundingBox = Rectangle(
Point(
std::max(gnLeftPageNumberOffset,
- maPreviewBoundingBox.Left()
+ sal_Int32(maPreviewBoundingBox.Left()
- gnRightPageNumberOffset
- - aPageNumberAreaSize.Width()),
+ - aPageNumberAreaSize.Width())),
nMaximumBorderWidth),
aPageNumberAreaSize);