cppcanvas/source/mtfrenderer/emfplus.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ca5b8804f0bda6f04974b037fb71a6d594379eb4
Author: Thorsten Behrens <thorsten.behr...@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 <c...@libreoffice.org>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@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];
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to