]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
[lyx.git] / src / insets / InsetSpace.h
index 8fd775dbf098b9811c449310ce1e465125571a77..040316fc6dde4a2291e7e785c894024b1596a770 100644 (file)
@@ -24,7 +24,7 @@ namespace lyx {
 class LaTeXFeatures;
 
 ///  Used to insert different kinds of spaces
-class InsetSpace : public InsetOld {
+class InsetSpace : public Inset {
 public:
 
        /// The different kinds of spaces we support
@@ -76,7 +76,7 @@ public:
        virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) const;
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::SPACE_CODE; }
+       Inset::Code lyxCode() const { return Inset::SPACE_CODE; }
        /// We don't need \begin_inset and \end_inset
        bool directWrite() const { return true; }
 
@@ -88,7 +88,7 @@ public:
        // a line separator)?
        bool isSpace() const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 
        /// And which kind is this?
        Kind kind_;