]> git.lyx.org Git - lyx.git/blobdiff - src/coordcache.C
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / coordcache.C
index 7cc1a4beeaf7db9a99b654040658918a7ebdecb5..ecfffec949cf21786e822a93233dac51bb823dc7 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "lyxtext.h"
 
-#include "mathed/math_data.h"
 #include "insets/insetbase.h"
 
 #include <boost/assert.hpp>
@@ -33,24 +32,11 @@ void lyxbreaker(void const * data, const char * hint, int size)
 
 void CoordCache::clear()
 {
-       BOOST_ASSERT(updating);
        arrays_.clear();
        insets_.clear();
        pars_.clear();
-}
-
-
-void CoordCache::startUpdating()
-{
-       BOOST_ASSERT(!updating);
-       updating = true;
-}
-
-
-void CoordCache::doneUpdating()
-{
-       BOOST_ASSERT(updating);
-       updating = false;
+       slices0_.clear();
+       slices1_.clear();
 }