From: André Pönitz Date: Sat, 16 Jul 2005 17:54:25 +0000 (+0000) Subject: formatting X-Git-Tag: 1.6.10~14084 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=73024d44b013b2536ef2024563e3dd784651f457;p=features.git formatting git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10255 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/coordcache.C b/src/coordcache.C index 69db4d349b..7cc1a4beea 100644 --- a/src/coordcache.C +++ b/src/coordcache.C @@ -39,17 +39,21 @@ void CoordCache::clear() pars_.clear(); } -void CoordCache::startUpdating() { + +void CoordCache::startUpdating() +{ BOOST_ASSERT(!updating); updating = true; } -void CoordCache::doneUpdating() { +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);