]> git.lyx.org Git - lyx.git/blob - src/coordcache.C
forgot these...
[lyx.git] / src / coordcache.C
1
2 #include "coordcache.h"
3 #include "debug.h"
4
5 CoordCache theCoords;
6
7 // just a helper to be able to set a breakpoint
8 void lyxbreaker(void const * data, const char * hint, int size)
9 {
10         lyxerr << "break on pointer: " << data << " hint: " << hint 
11                 << " size: " << size << std::endl;
12 }
13
14
15 void CoordCache::clear() 
16 {
17         lyxerr << "CoordCache: removing " << arrays_.data_.size()
18                 << " arrays" << std::endl;
19         lyxerr << "CoordCache: removing " << insets_.data_.size()
20                 << " insets" << std::endl;
21         arrays_.clear();
22         insets_.clear();
23 }
24