]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.h
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetNewline.h
index 9abeb78ced63e71cf2eb1fd2ece2b53521d80ea2..54ca6699df5fce9efc2fe0d4bebf370457070451 100644 (file)
 
 namespace lyx {
 
-class InsetNewline : public InsetOld {
+class InsetNewline : public Inset {
 public:
 
        InsetNewline() {}
 
-       InsetBase::Code lyxCode() const { return InsetBase::NEWLINE_CODE; }
+       Inset::Code lyxCode() const { return Inset::NEWLINE_CODE; }
 
        bool metrics(MetricsInfo &, Dimension &) const;
 
@@ -44,9 +44,9 @@ public:
        // a line separator)?
        bool isSpace() const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const
+       virtual std::auto_ptr<Inset> doClone() const
        {
-               return std::auto_ptr<InsetBase>(new InsetNewline);
+               return std::auto_ptr<Inset>(new InsetNewline);
        }
 };