mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
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:
parent
8d99df0c93
commit
91b4c2dfc6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user