]> git.lyx.org Git - lyx.git/blobdiff - src/coordcache.C
revert recent change to development/FORMAT (don't change history)
[lyx.git] / src / coordcache.C
index 956ed41a9a98a11e21b90c1a3f33b88cf6b39a27..51920e25c71ad81c4a479c7091851581662aaa46 100644 (file)
@@ -33,7 +33,6 @@ void lyxbreaker(void const * data, const char * hint, int size)
 
 void CoordCache::clear()
 {
-       BOOST_ASSERT(updating);
        arrays_.clear();
        insets_.clear();
        pars_.clear();
@@ -42,20 +41,6 @@ void CoordCache::clear()
 }
 
 
-void CoordCache::startUpdating()
-{
-       BOOST_ASSERT(!updating);
-       updating = true;
-}
-
-
-void CoordCache::doneUpdating()
-{
-       BOOST_ASSERT(updating);
-       updating = false;
-}
-
-
 Point CoordCache::get(LyXText const * text, lyx::pit_type pit)
 {
        ParPosCache::iterator const it = pars_.find(text);