]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetcaption.h
index 40f906cfaf196670e74500807d049a1bd71c6730..c356bc7713a52931493f6e63e06948b7b54bb230 100644 (file)
@@ -28,7 +28,7 @@ public:
        ///
        virtual bool display() const;
        ///
-       virtual InsetOld::Code lyxCode() const;
+       virtual InsetBase::Code lyxCode() const;
        ///
        virtual std::string const editMessage() const;
        ///
@@ -42,6 +42,9 @@ public:
        ///
        int docbook(Buffer const & buf, std::ostream & os,
                    OutputParams const & runparams) const;
+private:
+       ///
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 
@@ -53,7 +56,7 @@ bool InsetCaption::display() const
 
 
 inline
-InsetOld::Code InsetCaption::lyxCode() const
+InsetBase::Code InsetCaption::lyxCode() const
 {
        return CAPTION_CODE;
 }