From 42b83ba36254cce9d6ad4832a4d1fd4e618a62c8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 8 Jan 2007 11:15:50 +0000 Subject: [PATCH] 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 --- src/buffer.C | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/buffer.C b/src/buffer.C index f4e64964ca..c0a1f259d8 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -1352,8 +1352,6 @@ void Buffer::updateDocLang(Language const * nlang) BOOST_ASSERT(nlang); pimpl_->messages.reset(new Messages(nlang->code())); - - updateLabels(*this); }