summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-14 15:48:08 +0200
committerobo <obo@openoffice.org>2010-06-14 15:48:08 +0200
commit0fc10156331c3500ba9c2637433309ebde987241 (patch)
tree98176faf5805c6249fa7ce08bf533481c63cee7e
parentf3b2db1efb379596f0269e439a35b5575b616b2c (diff)
parent927bea431a8a8d31e79bb21d9135d9070639f70b (diff)
CWS-TOOLING: integrate CWS aw081
-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