mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
init POD members of FuncRequest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7617 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cf6549229d
commit
8f2e2d474b
@ -1,3 +1,6 @@
|
||||
2003-08-27 John Levon <levon@movementarian.org>
|
||||
|
||||
* funcrequest.C: properly initialise POD members
|
||||
|
||||
2003-08-27 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
|
@ -24,39 +24,39 @@ using std::endl;
|
||||
|
||||
|
||||
FuncRequest::FuncRequest()
|
||||
: view_(0), action(LFUN_UNKNOWN_ACTION), button_(mouse_button::none)
|
||||
: view_(0), action(LFUN_UNKNOWN_ACTION), x(0), y(0), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(kb_action act)
|
||||
: view_(0), action(act), button_(mouse_button::none)
|
||||
: view_(0), action(act), x(0), y(0), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(kb_action act, string const & arg)
|
||||
: view_(0), action(act), argument(arg), button_(mouse_button::none)
|
||||
: view_(0), action(act), argument(arg), x(0), y(0), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest
|
||||
(kb_action act, int ax, int ay, mouse_button::state button)
|
||||
: view_(0), action(act), argument(), x(ax), y(ay), button_(button)
|
||||
: view_(0), action(act), x(ax), y(ay), button_(button)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(BufferView * view, kb_action act)
|
||||
: view_(view), action(act), button_(mouse_button::none)
|
||||
: view_(view), action(act), x(0), y(0), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(BufferView * view, kb_action act, string const & arg)
|
||||
: view_(view), action(act), argument(arg), button_(mouse_button::none)
|
||||
: view_(view), action(act), argument(arg), x(0), y(0), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest
|
||||
(BufferView * view, kb_action act, int ax, int ay, mouse_button::state but)
|
||||
: view_(view), action(act), argument(), x(ax), y(ay), button_(but)
|
||||
: view_(view), action(act), x(ax), y(ay), button_(but)
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user