diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-04-15 13:31:48 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-04-15 13:31:48 +0200 |
commit | 613cb2b85d6c0bd2b1c9fb04890f6772f25143f1 (patch) | |
tree | 31dc9d3a7715d9eb6ffb3571ae5591bc12fc1ec0 /slideshow/source | |
parent | e725e315399f527e63f919a9a6861066b1f41512 (diff) |
aw081 #i110731# added basegfx::fround to get to integer cleaner
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 4 |
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 |