]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.C
Revert this change as it sneaked in and wasn't discussed yet.
[lyx.git] / src / insets / insetmarginal.C
index 201c333a7ca6af9f0d907e4f0441d55be98af7a1..a62b85144cca2f21863d2392f79fbd45b339f7e2 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *          Copyright 1998 The LyX Team.
  *
  * ======================================================
 #include "debug.h"
 
 
-InsetMarginal::InsetMarginal()
-       : InsetFootlike()
+using std::ostream;
+
+
+InsetMarginal::InsetMarginal(BufferParams const & bp)
+       : InsetFootlike(bp)
 {
        setLabel(_("margin"));
        setInsetName("Marginal");
@@ -53,12 +56,12 @@ string const InsetMarginal::editMessage() const
 
 
 int InsetMarginal::latex(Buffer const * buf,
-                        std::ostream & os, bool fragile, bool fp) const
+                        ostream & os, bool fragile, bool fp) const
 {
        os << "%\n\\marginpar{";
-       
+
        int const i = inset.latex(buf, os, fragile, fp);
        os << "%\n}";
-       
+
        return i + 2;
 }