From c10aaf94a9054e48ddd1112c84876eecd3dec726 Mon Sep 17 00:00:00 2001 From: Regina Henschel Date: Sun, 29 Jan 2017 01:03:16 +0100 Subject: tdf#105545 Allow closed paths having 2 points Closed paths with 2 points can be created from scratch, therefore allow them too, if a point is deleted. Remove now unused member mbIsClosed Change-Id: Iac2a08df52f734c99c6ac14d9f1a16d8b943d399 Reviewed-on: https://gerrit.libreoffice.org/33654 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- include/svx/polypolygoneditor.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/svx/polypolygoneditor.hxx b/include/svx/polypolygoneditor.hxx index a65200fd3ad2..c5b079d707c8 100644 --- a/include/svx/polypolygoneditor.hxx +++ b/include/svx/polypolygoneditor.hxx @@ -34,7 +34,7 @@ namespace sdr class SVX_DLLPUBLIC PolyPolygonEditor { public: - PolyPolygonEditor( const basegfx::B2DPolyPolygon& rPolyPolygon, bool bClosed ); + PolyPolygonEditor( const basegfx::B2DPolyPolygon& rPolyPolygon); const basegfx::B2DPolyPolygon& GetPolyPolygon() const { return maPolyPolygon; } @@ -58,7 +58,6 @@ public: private: basegfx::B2DPolyPolygon maPolyPolygon; - bool mbIsClosed; }; } -- cgit