diff options
Diffstat (limited to 'vcl/workben/vcldemo.cxx')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index f86d3280d454..e2ab80017c22 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -882,7 +882,7 @@ public: aBlockColor.Erase(COL_GREEN); BitmapEx aWhole(aBlockColor, aWholeMask); - aRenderPt = Point(r.Center()); + aRenderPt = r.Center(); aRenderPt.Move(nSlice+1, 0); // An offset background for alpha rendering @@ -1013,7 +1013,7 @@ public: aClipRegion.Union(aPieces[i]); } assert (aClipRegion.getRegionBand()); - rDev.SetClipRegion(vcl::Region(aClipRegion)); + rDev.SetClipRegion(aClipRegion); rDev.SetFillColor(Color::HSBtoRGB(nHue, 75, 75)); nHue = (nHue + 97) % 360; rDev.DrawRect(aOuter); @@ -1064,7 +1064,7 @@ public: { assert (!aClipRegion.getRegionBand()); - rDev.SetClipRegion(vcl::Region(aClipRegion)); + rDev.SetClipRegion(aClipRegion); rDev.SetFillColor(Color::HSBtoRGB(nHue, 50, 75)); nHue = (nHue + 97) % 360; rDev.DrawRect(aOuter); |