]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiFontMetrics.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiFontMetrics.cpp
index 01c8ce7738df4fe2c63dad5ae2ce2993e20aaf2d..1acafed3fb4e65ac458f3665be66f7ea30a1f7f4 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "insets/Inset.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 using namespace std;
 
@@ -36,7 +36,7 @@ namespace frontend {
  */
 static inline QChar const ucs4_to_qchar(char_type const ucs4)
 {
-       BOOST_ASSERT(is_utf16(ucs4));
+       LASSERT(is_utf16(ucs4), /**/);
        return QChar(static_cast<unsigned short>(ucs4));
 }