mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove unused nopos_ mamber variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8510 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c20a8956e4
commit
85bb58ad1d
@ -4,6 +4,8 @@
|
||||
Ensure that error_handler is processed once only and that all data
|
||||
is saved before attempting to output any warning messages.
|
||||
|
||||
* cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
|
||||
|
||||
2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* tabular.C (TeXRow): crash fix (from Kayvan and André)
|
||||
|
@ -114,7 +114,6 @@ DispatchResult LCursor::dispatch(FuncRequest const & cmd0)
|
||||
|
||||
//lyxerr << "\nLCursor::dispatch: cmd: " << cmd0 << endl << *this << endl;
|
||||
FuncRequest cmd = cmd0;
|
||||
nopop_ = false;
|
||||
LCursor safe = *this;
|
||||
|
||||
for ( ; size(); pop()) {
|
||||
@ -134,7 +133,7 @@ DispatchResult LCursor::dispatch(FuncRequest const & cmd0)
|
||||
}
|
||||
// it completely to get a 'bomb early' behaviour in case this
|
||||
// object will be used again.
|
||||
if (nopop_ || !disp_.dispatched())
|
||||
if (!disp_.dispatched())
|
||||
operator=(safe);
|
||||
return disp_;
|
||||
}
|
||||
|
@ -170,8 +170,6 @@ public:
|
||||
void undispatched();
|
||||
/// don't call update() when done
|
||||
void noUpdate();
|
||||
/// don't pop cursor to the level where the LFUN was handled
|
||||
void noPop();
|
||||
|
||||
/// output
|
||||
friend std::ostream & operator<<(std::ostream & os, LCursor const & cur);
|
||||
@ -206,9 +204,6 @@ private:
|
||||
bool selection_;
|
||||
/// are we on the way to get one?
|
||||
bool mark_;
|
||||
/// Reset cursor to the value it had at the beginning of the latest
|
||||
// dispatch() once the event is fully handled.
|
||||
bool nopop_;
|
||||
|
||||
//
|
||||
// math specific stuff that could be promoted to "global" later
|
||||
|
Loading…
Reference in New Issue
Block a user