tools/source/generic/poly.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit 9dd38a0b4021aa942196babdd6406691c1638a2a Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Oct 29 13:26:11 2021 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Oct 29 16:14:41 2021 +0200
Let's assume this is a bogus warning Change-Id: I3941d8b1811d34b2b7646b20bc7e91c9034770be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124427 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 8128491ac8cd..7c5eca59d4c0 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1030,8 +1030,6 @@ double Polygon::CalcDistance( sal_uInt16 nP1, sal_uInt16 nP2 ) const void Polygon::Optimize( PolyOptimizeFlags nOptimizeFlags ) { - DBG_ASSERT( !mpImplPolygon->mxFlagAry, "Optimizing could fail with beziers!" ); - sal_uInt16 nSize = mpImplPolygon->mnPoints; if( !(bool(nOptimizeFlags) && nSize) )