#include "metricsinfo.h"
#include "coordcache.h"
+
+namespace lyx {
+
using std::string;
}
-void InsetOld::setPosCache(PainterInfo const &, int x, int y) const
+void InsetOld::setPosCache(PainterInfo const & pi, int x, int y) const
{
//lyxerr << "InsetOld:: position cache to " << x << " " << y << std::endl;
- theCoords.insets().add(this, x, y);
+ pi.base.bv->coordCache().insets().add(this, x, y);
}
+
+
+} // namespace lyx