]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetHyperlink.h
index 11e7ebfda8241219df831fc98991ba551aa1764e..186b7567fc5882d8320caf861681c63368d614c5 100644 (file)
 #ifndef INSET_HYPERLINK_H
 #define INSET_HYPERLINK_H
 
-
 #include "InsetCommand.h"
 
 
 namespace lyx {
 
-class LaTeXFeatures;
-
 /** The hyperlink inset
  */
-class InsetHyperlink : public InsetCommand {
+class InsetHyperlink : public InsetCommand
+{
 public:
        ///
-       explicit
-       InsetHyperlink(InsetCommandParams const &);
+       explicit InsetHyperlink(InsetCommandParams const &);
        ///
        InsetCode lyxCode() const { return HYPERLINK_CODE; }
        ///
@@ -55,7 +52,7 @@ public:
        /// Force inset into LTR environment if surroundings are RTL?
        bool forceLTR() const { return true; }
 private:
-       Inset * clone() const { return new InsetHyperlink(params()); }
+       Inset * clone() const { return new InsetHyperlink(*this); }
 };