[Libreoffice-commits] core.git: cppcanvas/source
Thorsten Behrens
Thorsten.Behrens at CIB.de
Sat May 20 22:09:28 UTC 2017
cppcanvas/source/mtfrenderer/emfplus.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit ca5b8804f0bda6f04974b037fb71a6d594379eb4
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date: Sat May 20 16:28:38 2017 +0200
cppcanvas: this assert can stay
Both sequences are supposed to be 4 - input there does not result
from parsing the EMF+ file.
Change-Id: Idcfa70d717b75ce226a8bae0ebe073002555ef17
Reviewed-on: https://gerrit.libreoffice.org/37861
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 8cfd1127540e..a96900d48872 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -450,8 +450,7 @@ namespace cppcanvas
int length = aStartColor.getLength ();
uno::Sequence< double > aColor (length);
- SAL_WARN_IF(length != aEndColor.getLength(), "cppcanvas.emf", "length != aEndColor.getLength()");
-
+ assert(length == aEndColor.getLength());
for (int i = 0; i < brush->blendPoints; i++) {
aStops[i] = brush->blendPositions [i];
More information about the Libreoffice-commits
mailing list