From cbb7b9a0a4f0462e2ba27dda3923336219bd8dee Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 3 Mar 2008 18:16:11 +0000 Subject: [PATCH] remove unused variables. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23419 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXFunc.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 373bb40e68..8bd88372a4 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1523,13 +1523,9 @@ void LyXFunc::dispatch(FuncRequest const & cmd) case LFUN_BUFFER_PARAMS_APPLY: { BOOST_ASSERT(lyx_view_); - biblio::CiteEngine const oldEngine = - lyx_view_->buffer()->params().getEngine(); Buffer * buffer = lyx_view_->buffer(); - DocumentClass * oldClass = buffer->params().documentClassPtr(); - Cursor & cur = view()->cursor(); cur.recordUndoFullDocument(); @@ -1547,9 +1543,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd) updateLayout(oldClass, buffer); - biblio::CiteEngine const newEngine = - lyx_view_->buffer()->params().getEngine(); - updateFlags = Update::Force | Update::FitCursor; // 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 -- 2.39.2