summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshowimpl.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 08:13:05 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 08:13:05 +0000
commita18c96c4d3b82df894a7c7163f0e49093942d03e (patch)
tree18f6074f3b78ae765cb443b83d846293451ff2ed /sd/source/ui/slideshow/slideshowimpl.cxx
parent1c51446811ab838b1e9fa4533f10e276fc1616c6 (diff)
INTEGRATION: CWS impress120_SRC680 (1.37.16.3.14); FILE MERGED
2007/04/19 11:47:37 cl 1.37.16.3.14.1: #i72702# added patch by ayaniger for rtl previews
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 0a820799ce1d..49116c47f4d6 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: slideshowimpl.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: rt $ $Date: 2007-04-26 08:39:51 $
+ * last change: $Author: kz $ $Date: 2007-05-10 09:13:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -670,7 +670,12 @@ bool SlideshowImpl::startPreview(
}
else if( mpViewShell )
{
- const Rectangle& aContentRect = mpViewShell->GetViewShellBase().getClientRectangle();
+ Rectangle aContentRect (mpViewShell->GetViewShellBase().getClientRectangle());
+ if (Application::GetSettings().GetLayoutRTL())
+ {
+ aContentRect.nLeft = aContentRect.nRight;
+ aContentRect.nRight += aContentRect.nRight;
+ }
maPresSize = aContentRect.GetSize();
mpShowWindow->SetPosPixel( aContentRect.TopLeft() );
}