mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
remove unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23419 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c084b71a9b
commit
cbb7b9a0a4
@ -1523,13 +1523,9 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
|
|
||||||
case LFUN_BUFFER_PARAMS_APPLY: {
|
case LFUN_BUFFER_PARAMS_APPLY: {
|
||||||
BOOST_ASSERT(lyx_view_);
|
BOOST_ASSERT(lyx_view_);
|
||||||
biblio::CiteEngine const oldEngine =
|
|
||||||
lyx_view_->buffer()->params().getEngine();
|
|
||||||
|
|
||||||
Buffer * buffer = lyx_view_->buffer();
|
Buffer * buffer = lyx_view_->buffer();
|
||||||
|
|
||||||
DocumentClass * oldClass = buffer->params().documentClassPtr();
|
DocumentClass * oldClass = buffer->params().documentClassPtr();
|
||||||
|
|
||||||
Cursor & cur = view()->cursor();
|
Cursor & cur = view()->cursor();
|
||||||
cur.recordUndoFullDocument();
|
cur.recordUndoFullDocument();
|
||||||
|
|
||||||
@ -1547,9 +1543,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
|
|
||||||
updateLayout(oldClass, buffer);
|
updateLayout(oldClass, buffer);
|
||||||
|
|
||||||
biblio::CiteEngine const newEngine =
|
|
||||||
lyx_view_->buffer()->params().getEngine();
|
|
||||||
|
|
||||||
updateFlags = Update::Force | Update::FitCursor;
|
updateFlags = Update::Force | Update::FitCursor;
|
||||||
// We are here most certainaly because of a change in the document
|
// We are here most certainaly because of a change in the document
|
||||||
// It is then better to make sure that all dialogs are in sync
|
// It is then better to make sure that all dialogs are in sync
|
||||||
|
Loading…
Reference in New Issue
Block a user