]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/PanelStack.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / PanelStack.cpp
index 145da5b9b2763a403c6596f05085a0522ee4ecd7..69158e1a8e98e9c2caffff3b0aa8fe30f4de9999 100644 (file)
@@ -22,7 +22,7 @@
 #include <QHBoxLayout>
 #include <QHeaderView>
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #include <iostream>
 
@@ -61,7 +61,7 @@ void PanelStack::addCategory(QString const & name, QString const & parent)
 {
        QTreeWidgetItem * item = 0;
 
-       LYXERR(Debug::GUI, "addCategory n= " << fromqstr(name) << "   parent= ");
+       LYXERR(Debug::GUI, "addCategory n= " << name << "   parent= ");
 
        int depth = 1;
 
@@ -104,7 +104,7 @@ void PanelStack::addPanel(QWidget * panel, QString const & name, QString const &
 void PanelStack::setCurrentPanel(QString const & name)
 {
        QTreeWidgetItem * item = panel_map_.value(name, 0);
-       BOOST_ASSERT(item);
+       LASSERT(item, /**/);
 
        // force on first set
        if (list_->currentItem() == item)