]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlabel.h
ws changes only
[lyx.git] / src / insets / insetlabel.h
index 2fe34f0b1f1487aa362ec4feec499590e572d0da..c9db1eea302c6ef34df34707cc0932a3d5feb22e 100644 (file)
@@ -14,6 +14,7 @@
 
 
 #include "insetcommand.h"
+#include <boost/weak_ptr.hpp>
 
 class InsetLabel : public InsetCommand {
 public:
@@ -22,13 +23,11 @@ public:
        ///
        ~InsetLabel();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const {
-               return std::auto_ptr<InsetBase>(new InsetLabel(params()));
-       }
+       std::auto_ptr<InsetBase> clone() const;
        ///
        virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
-       std::string const getScreenLabel(Buffer const &) const { return getContents(); }
+       std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///