]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
following rev. 18724 boost/signal is not needed.
[lyx.git] / src / insets / InsetWrap.cpp
index 10d12d096703bd0cb4a7a90541e1e33230c89c94..ee37625c873c168abd4f191675628c69d3a7101c 100644 (file)
@@ -179,7 +179,7 @@ docstring const InsetWrap::editMessage() const
 
 
 int InsetWrap::latex(Buffer const & buf, odocstream & os,
-                     OutputParams const & runparams) const
+                    OutputParams const & runparams) const
 {
        os << "\\begin{floating" << from_ascii(params_.type) << '}';
        if (!params_.placement.empty())
@@ -192,7 +192,7 @@ int InsetWrap::latex(Buffer const & buf, odocstream & os,
 
 
 int InsetWrap::plaintext(Buffer const & buf, odocstream & os,
-                         OutputParams const & runparams) const
+                        OutputParams const & runparams) const
 {
        os << '[' << buf.B_("wrap") << ' ' << floatName(params_.type, buf.params()) << ":\n";
        InsetText::plaintext(buf, os, runparams);
@@ -203,10 +203,10 @@ int InsetWrap::plaintext(Buffer const & buf, odocstream & os,
 
 
 int InsetWrap::docbook(Buffer const & buf, odocstream & os,
-                       OutputParams const & runparams) const
+                      OutputParams const & runparams) const
 {
-        // FIXME UNICODE
-        os << '<' << from_ascii(params_.type) << '>';
+       // FIXME UNICODE
+       os << '<' << from_ascii(params_.type) << '>';
        int const i = InsetText::docbook(buf, os, runparams);
        os << "</" << from_ascii(params_.type) << '>';
        return i;
@@ -234,13 +234,6 @@ bool InsetWrap::showInsetDialog(BufferView * bv) const
 }
 
 
-void InsetWrap::addToToc(TocList & toclist, Buffer const & buf) const
-{
-       // Is there a need to provide a list of wrap insets?
-       return;
-}
-
-
 string const InsetWrapMailer::name_("wrap");
 
 InsetWrapMailer::InsetWrapMailer(InsetWrap & inset)