formatting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10255 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2005-07-16 17:54:25 +00:00
parent f69645efbe
commit 73024d44b0

View File

@ -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);