diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/pointersymbol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/pointersymbol.cxx b/slideshow/source/engine/pointersymbol.cxx index 50f4421add5c..00832a4edf26 100644 --- a/slideshow/source/engine/pointersymbol.cxx +++ b/slideshow/source/engine/pointersymbol.cxx @@ -96,8 +96,8 @@ basegfx::B2DPoint PointerSymbol::calcSpritePos(UnoViewSharedPtr const & rView) c const geometry::IntegerSize2D realTranslationOffset ( rView->getTranslationOffset() ); return basegfx::B2DPoint( - realTranslationOffset.Width + ((aViewArea.Width - aViewArea.X) - 2 * realTranslationOffset.Width) * maPos.X, - realTranslationOffset.Height + ((aViewArea.Height - aViewArea.Y) - 2 * realTranslationOffset.Height) * maPos.Y); + realTranslationOffset.Width + (aViewArea.Width * maPos.X), + realTranslationOffset.Height + (aViewArea.Height * maPos.Y)); } void PointerSymbol::viewAdded( const UnoViewSharedPtr& rView ) |