using lyx::support::ltrim;
+using lyx::frontend::Painter;
+
using boost::shared_ptr;
using std::auto_ptr;
//lyxerr << "InsetTabular::draw: " << x << " " << y << endl;
BufferView * bv = pi.base.bv;
- static NullPainter nop;
+ static lyx::frontend::NullPainter nop;
static PainterInfo nullpi(bv, nop);
//resetPos(bv->cursor());