]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.C
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetcaption.C
index 72e83e4bff9a510d2550d483454f81f264f6203e..a3f37890eaba315270a4c4b8a578c12a972787c5 100644 (file)
@@ -34,6 +34,7 @@
 
 using lyx::support::bformat;
 
+using std::auto_ptr;
 using std::endl;
 using std::string;
 using std::ostream;
@@ -138,7 +139,7 @@ int InsetCaption::latex(Buffer const & buf, ostream & os,
 int InsetCaption::plaintext(Buffer const & /*buf*/,ostream & /*os*/,
                        OutputParams const & /*runparams*/) const
 {
-       // FIX: Implement me!
+       // FIXME: Implement me!
        return 0;
 }
 
@@ -152,3 +153,9 @@ int InsetCaption::docbook(Buffer const & buf, ostream & os,
        os << "</title>\n";
        return ret;
 }
+
+
+auto_ptr<InsetBase> InsetCaption::doClone() const
+{
+       return auto_ptr<InsetBase>(new InsetCaption(*this));
+}