From dbd0cea6052c5198fc960883830c3daebb989a4c Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Thu, 5 Jul 2012 14:49:29 +0000 Subject: #i120096# Detect empty polygon in Region constructor and set impl object accordingly. Reported by: Du Jing Fixed by: Andre Fischer --- vcl/inc/vcl/region.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/inc') diff --git a/vcl/inc/vcl/region.hxx b/vcl/inc/vcl/region.hxx index cf6fde99faf9..c01be8240444 100755 --- a/vcl/inc/vcl/region.hxx +++ b/vcl/inc/vcl/region.hxx @@ -61,6 +61,7 @@ private: SAL_DLLPRIVATE void ImplCopyData(); SAL_DLLPRIVATE void ImplCreateRectRegion( const Rectangle& rRect ); SAL_DLLPRIVATE void ImplCreatePolyPolyRegion( const PolyPolygon& rPolyPoly ); + SAL_DLLPRIVATE void ImplCreatePolyPolyRegion( const basegfx::B2DPolyPolygon& rPolyPoly ); SAL_DLLPRIVATE void ImplPolyPolyRegionToBandRegionFunc(); SAL_DLLPRIVATE inline void ImplPolyPolyRegionToBandRegion(); SAL_DLLPRIVATE const ImplRegion* ImplGetImplRegion() const { return mpImplRegion; } -- cgit