diff -urN ooo_DEV300_m97_src.orig/filter/source/graphicfilter/ipict/shape.cxx ooo_DEV300_m97_src/filter/source/graphicfilter/ipict/shape.cxx --- ooo_DEV300_m97_src.orig/filter/source/graphicfilter/ipict/shape.cxx 2011-01-12 17:34:23.000000000 +0100 +++ ooo_DEV300_m97_src/filter/source/graphicfilter/ipict/shape.cxx 2011-01-12 17:40:24.000000000 +0100 @@ -210,8 +210,8 @@ using namespace basegfx; double const X[2] = { oval.Left(), oval.Right() }; double const Y[2] = { oval.Top(), oval.Bottom() }; - double width = X[1] - X[0]; - double height = Y[1] - Y[0]; + int width = static_cast(X[1] - X[0]); + int height = static_cast(Y[1] - Y[0]); if (ovalW > width) ovalW = width; if (ovalH > height) ovalH = height; @@ -233,7 +233,7 @@ decalBR[0] -= (penSize+1)/2; decalBR[1] -= (penSize+1)/2; } // Quickdraw Drawing Reference 3-82: the pen size is only used for frame - else decalBR[0] = decalBR[1] = 0.0; + else decalBR[0] = decalBR[1] = 0; int numPt = orig.GetSize();