summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-13 22:28:52 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-13 22:29:46 +0100
commit38d3e115c159f19f22de73ece1abe609d75a041e (patch)
tree63ffe74cb9b8fcc52617b616d02cc2504a0d0e11 /svtools/source/brwbox
parent913f175b321caf7a99957fd7c4dc536f4101ab53 (diff)
vcl: make Region ctors explicit to prevent overloading desasters
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 444fc9805edd..36930e7a6f4b 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -363,7 +363,7 @@ namespace svt
Point aPos( rRect.TopLeft() );
if ( ( aImageSize.Width() > rRect.GetWidth() ) || ( aImageSize.Height() > rRect.GetHeight() ) )
- rDev.SetClipRegion(rRect);
+ rDev.SetClipRegion(Region(rRect));
if ( aImageSize.Width() < rRect.GetWidth() )
aPos.X() += ( rRect.GetWidth() - aImageSize.Width() ) / 2;