performance fix, label updating have nothing to do with Buffer contents. 'updateLabels()' is called in BufferView::setBuffer().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16599 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-08 11:15:50 +00:00
parent f18e41b734
commit 42b83ba362

View File

@ -1352,8 +1352,6 @@ void Buffer::updateDocLang(Language const * nlang)
BOOST_ASSERT(nlang);
pimpl_->messages.reset(new Messages(nlang->code()));
updateLabels(*this);
}