]> git.lyx.org Git - lyx.git/blobdiff - src/support/qstring_helpers.h
Maintain plain layout for separating paragraphs when switching layouts (#11936)
[lyx.git] / src / support / qstring_helpers.h
index 45e0434f9a08aad37e9b31eae762eb0861ea1df1..e33131caa594053b5ba4b06ff32c6fcbbbca5613 100644 (file)
@@ -41,7 +41,7 @@ QString toqstr(std::string const & str);
 
 
 /// Is \p c a valid utf16 char?
-inline bool is_utf16(unsigned int c)
+inline bool is_utf16(char_type c)
 {
        // 0xd800 ... 0xdfff is the range of surrogate pairs.
        return c < 0xd800 || (c > 0xdfff && c < 0x10000);