lyx_mirror/src/coordcache.C
André Pönitz f7a01cc616 workaround crash in undo. This is not a proper fix but 'works'.
Have a look at the new 'FIXME' if yiou are interested...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9112 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 11:04:41 +00:00

25 lines
534 B
C

#include "coordcache.h"
#include "debug.h"
CoordCache theCoords;
// just a helper to be able to set a breakpoint
void lyxbreaker(void const * data, const char * hint, int size)
{
lyxerr << "break on pointer: " << data << " hint: " << hint
<< " size: " << size << std::endl;
}
void CoordCache::clear()
{
// lyxerr << "CoordCache: removing " << arrays_.data_.size()
// << " arrays" << std::endl;
// lyxerr << "CoordCache: removing " << insets_.data_.size()
// << " insets" << std::endl;
arrays_.clear();
insets_.clear();
}