#include "support/LOstream.h"
#include "support/lstrings.h" //frontStrip, strip
+using namespace lyx::support;
+
using std::ostream;
using std::vector;
using std::pair;
InsetLabel::~InsetLabel()
{
- InsetCommandMailer mailer("label", *this);
- mailer.hideDialog();
+ InsetCommandMailer("label", *this).hideDialog();
}
-vector<string> const InsetLabel::getLabelList() const
+void InsetLabel::getLabelList(std::vector<string> & list) const
{
- return vector<string>(1, getContents());
+ list.push_back(getContents());
}
dispatch_result InsetLabel::localDispatch(FuncRequest const & cmd)
{
- Inset::RESULT result = UNDISPATCHED;
+ InsetOld::RESULT result = UNDISPATCHED;
switch (cmd.action) {