]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.C
last Friday's text*.C -> text_func shuffle
[lyx.git] / src / rowpainter.C
index 500c2293fc747793eb87fde2a73947670317a266..b43895acc15818ebd78305c8cb34ff5633711f12 100644 (file)
@@ -11,8 +11,6 @@
 
 #include <config.h>
 
-#include <algorithm>
-
 #include "frontends/Painter.h"
 #include "frontends/screen.h"
 #include "frontends/font_metrics.h"
 #include "lyxrow_funcs.h"
 #include "metricsinfo.h"
 
+#include <algorithm>
+
+using namespace lyx::support;
+
 using std::max;
 using lyx::pos_type;
 
@@ -102,7 +104,7 @@ void RowPainter::paintInset(pos_type const pos)
 {
        Inset * inset = const_cast<Inset*>(pit_->getInset(pos));
 
-       lyx::Assert(inset);
+       Assert(inset);
 
 #warning inset->update FIXME
        inset->update(perv(bv_), false);