summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshowimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 790e157c0ad7..d55b9adb66a1 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -786,7 +786,7 @@ bool SlideshowImpl::startPreview(
if (AllSettings::GetLayoutRTL())
{
aContentRect.SetLeft( aContentRect.Right() );
- aContentRect.SetRight( aContentRect.Right() + aContentRect.Right() );
+ aContentRect.AdjustRight(aContentRect.Right() );
}
maPresSize = aContentRect.GetSize();
mpShowWindow->SetPosPixel( aContentRect.TopLeft() );