diff options
author | Andre Fischer <af@apache.org> | 2012-07-05 14:49:29 +0000 |
---|---|---|
committer | Andre Fischer <af@apache.org> | 2012-07-05 14:49:29 +0000 |
commit | dbd0cea6052c5198fc960883830c3daebb989a4c (patch) | |
tree | 8bdeba36fc749944577203e7cd7ad915943e6556 /vcl/inc | |
parent | 2df66d39b4303e673ab43b97d2a5df5f09d04285 (diff) |
#i120096# Detect empty polygon in Region constructor and set impl object accordingly.
Reported by: Du Jing
Fixed by: Andre Fischer
Notes
Notes:
merged as: a5aeb9e0a0e8766ddaefb147f24ca858f0fff75b
Diffstat (limited to 'vcl/inc')
-rwxr-xr-x | vcl/inc/vcl/region.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |