Remove unneeded code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22817 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-06 23:12:32 +00:00
parent 8d99df0c93
commit 91b4c2dfc6

View File

@ -625,15 +625,6 @@ void LyX::execBatchCommands()
else
pimpl_->application_->restoreGuiSession();
BufferList::iterator I = theBufferList().begin();
BufferList::iterator end = theBufferList().end();
for (; I != end; ++I) {
Buffer * buf = *I;
if (buf != buf->masterBuffer())
continue;
updateLabels(*buf);
}
// Execute batch commands if available
if (pimpl_->batch_command.empty())
return;