[poppler] qt5/tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Sep 8 16:22:50 UTC 2018


 qt5/tests/check_annotations.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1acbe6af40e598b3afae18709eb32ec44d7b1afc
Author: Tobias Deiminger <haxtibal at posteo.de>
Date:   Sat Sep 8 12:39:25 2018 +0200

    Fix compilation with QT_STRICT_ITERATORS

diff --git a/qt5/tests/check_annotations.cpp b/qt5/tests/check_annotations.cpp
index 0e015aac..36aa1bd3 100644
--- a/qt5/tests/check_annotations.cpp
+++ b/qt5/tests/check_annotations.cpp
@@ -94,7 +94,7 @@ void TestAnnotations::checkFontSizeAndColor()
       QCOMPARE(textAnnot->textFont().pointSize(), testFont.pointSize());
       QCOMPARE(static_cast<int>(textAnnot->textColor().spec()), static_cast<int>(color.spec()));
       QCOMPARE(textAnnot->textColor(), color);
-      if (annot != annots.end())
+      if (annot != annots.constEnd())
           ++annot;
     }
   }


More information about the poppler mailing list