mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
delete unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16500 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d7795d4d2
commit
89ab910a4f
@ -516,9 +516,8 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
|
|||||||
if (inset) {
|
if (inset) {
|
||||||
FuncRequest fr(LFUN_INSET_MODIFY, cmd.argument());
|
FuncRequest fr(LFUN_INSET_MODIFY, cmd.argument());
|
||||||
FuncStatus fs;
|
FuncStatus fs;
|
||||||
bool const success = inset->getStatus(cur, fr, fs);
|
|
||||||
// Every inset is supposed to handle this
|
// Every inset is supposed to handle this
|
||||||
BOOST_ASSERT(success);
|
BOOST_ASSERT(inset->getStatus(cur, fr, fs));
|
||||||
flag |= fs;
|
flag |= fs;
|
||||||
} else {
|
} else {
|
||||||
FuncRequest fr(LFUN_INSET_INSERT, cmd.argument());
|
FuncRequest fr(LFUN_INSET_INSERT, cmd.argument());
|
||||||
|
@ -144,7 +144,6 @@ namespace {
|
|||||||
replaceSelection(cur);
|
replaceSelection(cur);
|
||||||
|
|
||||||
if (sel.empty()) {
|
if (sel.empty()) {
|
||||||
const int old_pos = cur.pos();
|
|
||||||
cur.insert(new InsetMathHull(hullSimple));
|
cur.insert(new InsetMathHull(hullSimple));
|
||||||
BOOST_ASSERT(old_pos == cur.pos());
|
BOOST_ASSERT(old_pos == cur.pos());
|
||||||
cur.nextInset()->edit(cur, true);
|
cur.nextInset()->edit(cur, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user