mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
62df753a2e
commit
4348674beb
@ -1,3 +1,7 @@
|
||||
2003-09-18 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlCommand.C (clearParams): simplify.
|
||||
|
||||
2003-09-18 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlCharacter.C:
|
||||
|
@ -31,9 +31,7 @@ bool ControlCommand::initialiseParams(string const & data)
|
||||
|
||||
void ControlCommand::clearParams()
|
||||
{
|
||||
params_.setCmdName(string());
|
||||
params_.setOptions(string());
|
||||
params_.setContents(string());
|
||||
params_ = InsetCommandParams();
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-09-18 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetcommand.C (setParams): use the params' copy constructor.
|
||||
|
||||
2003-09-18 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetinsetbase.h (getLabelList):
|
||||
|
@ -57,9 +57,7 @@ void InsetCommand::draw(PainterInfo & pi, int x, int y) const
|
||||
|
||||
void InsetCommand::setParams(InsetCommandParams const & p)
|
||||
{
|
||||
p_.setCmdName(p.getCmdName());
|
||||
p_.setContents(p.getContents());
|
||||
p_.setOptions(p.getOptions());
|
||||
p_ = p;
|
||||
set_label_ = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user