diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-13 22:28:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-13 22:29:46 +0100 |
commit | 38d3e115c159f19f22de73ece1abe609d75a041e (patch) | |
tree | 63ffe74cb9b8fcc52617b616d02cc2504a0d0e11 /extensions | |
parent | 913f175b321caf7a99957fd7c4dc536f4101ab53 (diff) |
vcl: make Region ctors explicit to prevent overloading desasters
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/scanner/grid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 2b4c18254f57..93366b9f292d 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -387,7 +387,7 @@ void GridWindow::drawNew() { if( m_nValues && m_pXValues && m_pNewYValues ) { - SetClipRegion( m_aGridArea ); + SetClipRegion(Region(m_aGridArea)); SetLineColor( Color( COL_YELLOW ) ); for( int i = 0; i < m_nValues-1; i++ ) { |