From 38d3e115c159f19f22de73ece1abe609d75a041e Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 13 Mar 2013 22:28:52 +0100 Subject: vcl: make Region ctors explicit to prevent overloading desasters Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0 --- cui/source/dialogs/about.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/about.cxx') diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 9c247d3dcdfc..e904d0f04ac1 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -429,7 +429,7 @@ void AboutDialog::MoveControl(Control& rControl, sal_Int32 X, sal_Int32 Y) void AboutDialog::Paint( const Rectangle& rRect ) { - SetClipRegion( rRect ); + SetClipRegion(Region(rRect)); Point aPos ( rRect.GetWidth() - aBackgroundBitmap.GetSizePixel().Width(), rRect.GetHeight() - aBackgroundBitmap.GetSizePixel().Height() ); DrawBitmapEx( aPos, aBackgroundBitmap ); } -- cgit