]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocModel.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / TocModel.cpp
index e5a305a704847db469cc32b5f77e972d7a18fdfc..1b66b932e0c8711d2beaac2336fc7c4039d65578 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "support/debug.h"
 
-#include <boost/assert.hpp>
+#include "support/assert.h"
 #include <climits>
 
 using namespace std;
@@ -29,7 +29,7 @@ typedef std::pair<QModelIndex, TocIterator> TocPair;
 TocIterator TocModel::tocIterator(QModelIndex const & index) const
 {
        TocMap::const_iterator map_it = toc_map_.find(index);
-       BOOST_ASSERT(map_it != toc_map_.end());
+       LASSERT(map_it != toc_map_.end(), /**/);
        return map_it->second;
 }
 
@@ -37,7 +37,7 @@ TocIterator TocModel::tocIterator(QModelIndex const & index) const
 QModelIndex TocModel::modelIndex(TocIterator const & it) const
 {
        ModelMap::const_iterator map_it = model_map_.find(it);
-       //BOOST_ASSERT(it != model_map_.end());
+       //LASSERT(it != model_map_.end(), /**/);
 
        if (map_it == model_map_.end())
                return QModelIndex();