From 62a97e6a561ce65e88d4c537a1b82c336f012722 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 2 Jan 2017 11:53:31 +0000 Subject: ofz#372 check if ImplSplit succeeded Change-Id: I1e34295fe3ee5f77e787f583616d52fa92a0eca4 --- tools/inc/poly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/inc') diff --git a/tools/inc/poly.h b/tools/inc/poly.h index 6ad1b5b82ceb..835beb8bcffe 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -43,7 +43,7 @@ public: void ImplSetSize( sal_uInt16 nSize, bool bResize = true ); void ImplCreateFlagArray(); - void ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon const * pInitPoly = nullptr ); + bool ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon const * pInitPoly = nullptr ); }; #define MAX_POLYGONS ((sal_uInt16)0x3FF0) -- cgit