diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/poly2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index c6d0a46032c8..a00f64f41b18 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -40,6 +40,10 @@ PolyPolygon::PolyPolygon( const tools::Polygon& rPoly ) : mpImplPolyPolygon( rPoly ) { } +PolyPolygon::PolyPolygon( const tools::Rectangle& rRect ) + : mpImplPolyPolygon( tools::Polygon(rRect) ) +{ +} PolyPolygon::PolyPolygon( const tools::PolyPolygon& rPolyPoly ) : mpImplPolyPolygon( rPolyPoly.mpImplPolyPolygon ) |