summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-04-15 13:31:48 +0200
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-04-15 13:31:48 +0200
commit613cb2b85d6c0bd2b1c9fb04890f6772f25143f1 (patch)
tree31dc9d3a7715d9eb6ffb3571ae5591bc12fc1ec0 /slideshow
parente725e315399f527e63f919a9a6861066b1f41512 (diff)
aw081 #i110731# added basegfx::fround to get to integer cleaner
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index d2af8c0daaed..d736c3f52d64 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1545,7 +1545,9 @@ void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMult
for( sal_uInt32 n = 0; n < nPoints; n++ )
{
//Create a point from the polygon
- *pInnerSequence++ = awt::Point( aPoly.getB2DPoint(n).getX(), aPoly.getB2DPoint(n).getY());
+ *pInnerSequence++ = awt::Point(
+ basegfx::fround(aPoly.getB2DPoint(n).getX()),
+ basegfx::fround(aPoly.getB2DPoint(n).getY()));
}
//Fill the properties