X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcaption.C;h=f1ba9df2deaec60738e83e180d931f365bd05bc7;hb=b00e1315fe4da81da67f63d70e455cda167afab9;hp=d5a773f3e8fda2c989ebeb6cf16d0a642f0d92eb;hpb=b8cad4ca9d2fe8379b496b326956ab5d16ddc1eb;p=lyx.git diff --git a/src/insets/insetcaption.C b/src/insets/insetcaption.C index d5a773f3e8..f1ba9df2de 100644 --- a/src/insets/insetcaption.C +++ b/src/insets/insetcaption.C @@ -115,17 +115,16 @@ int InsetCaption::latex(Buffer const * buf, ostream & os, int InsetCaption::ascii(Buffer const * /*buf*/, ostream & /*os*/, int /*linelen*/) const { -#ifdef WITH_WARNINGS -#warning Implement me! -#endif + // FIX: Implement me! return 0; } -int InsetCaption::docBook(Buffer const * /*buf*/, ostream & /*os*/) const +int InsetCaption::docbook(Buffer const * buf, ostream & os) const { -#ifdef WITH_WARNINGS -#warning Implement me! -#endif - return 0; + int ret; + os << ""; + ret = InsetText::docbook(buf, os); + os << "\n"; + return ret; }