#include "support/std_sstream.h"
+
+using std::string;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
{
params_.type = label;
init();
- setButtonLabel();
}
}
-InsetNote::~InsetNote() // MV
+InsetNote::~InsetNote()
{
InsetNoteMailer mailer("note", *this);
mailer.hideDialog();
switch (cmd.action) {
case LFUN_INSET_MODIFY: {
- InsetNoteParams params;
- InsetNoteMailer::string2params(cmd.argument, params);
- params_.type = params.type;
+ InsetNoteMailer::string2params(cmd.argument, params_);
setButtonLabel();
bv->updateInset(this);
return DISPATCHED;