fix build with ICU 65.1
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 17 Feb 2020 18:55:34 +0000 (18:55 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 17 Feb 2020 18:55:34 +0000 (18:55 +0000)
Origin: https://github.com/qtwebkit/qtwebkit/commit/dc02ec4080010e33
Last-Update: 2020-02-17

Gbp-Pq: Name icu_65.1.diff

Source/WebCore/dom/Document.cpp

index 1bca2d0a66f861d2765b3c86b91bcfd4a596bf13..19355f166019a2a94810cbd99f027836531b430c 100644 (file)
@@ -4407,12 +4407,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length)
     unsigned i = 0;
 
     UChar32 c;
-    U16_NEXT(characters, i, length, c)
+    U16_NEXT(characters, i, length, c);
     if (!isValidNameStart(c))
         return false;
 
     while (i < length) {
-        U16_NEXT(characters, i, length, c)
+        U16_NEXT(characters, i, length, c);
         if (!isValidNamePart(c))
             return false;
     }
@@ -4474,7 +4474,7 @@ bool Document::parseQualifiedName(const String& qualifiedName, String& prefix, S
 
     for (unsigned i = 0; i < length;) {
         UChar32 c;
-        U16_NEXT(qualifiedName, i, length, c)
+        U16_NEXT(qualifiedName, i, length, c);
         if (c == ':') {
             if (sawColon) {
                 ec = NAMESPACE_ERR;