#include <config.h>
#include "CoordCache.h"
-#include "debug.h"
+#include "debug.h"
#include "Text.h"
+#include "support/docstring.h"
+
#include "insets/Inset.h"
#include <boost/assert.hpp>
{
arrays_.clear();
insets_.clear();
- slices0_.clear();
- slices1_.clear();
}
lyxerr << "InsetCache contains:" << std::endl;
for (CoordCacheBase<Inset>::cache_type::const_iterator it = getInsets().getData().begin(); it != getInsets().getData().end(); ++it) {
Inset const * inset = it->first;
- Point const p = it->second;
+ Point const p = it->second.pos;
lyxerr << "Inset " << inset << "(" << to_utf8(inset->name())
<< ") has point " << p.x_ << "," << p.y_ << std::endl;
}