mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
5a153a4961
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8924 a592a061-630c-0410-9148-cb99ea01b6c8
25 lines
528 B
C
25 lines
528 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();
|
|
}
|
|
|