]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.C
Translate labels for float:algorithm, float:figure and float:table.
[lyx.git] / src / insets / insetmarginal.C
index 1a0eb1b5bece05e73a06a2be8b4033ca650be9d9..a62b85144cca2f21863d2392f79fbd45b339f7e2 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *          Copyright 1998 The LyX Team.
  *
  * ======================================================
@@ -27,8 +27,8 @@
 using std::ostream;
 
 
-InsetMarginal::InsetMarginal()
-       : InsetFootlike()
+InsetMarginal::InsetMarginal(BufferParams const & bp)
+       : InsetFootlike(bp)
 {
        setLabel(_("margin"));
        setInsetName("Marginal");
@@ -59,9 +59,9 @@ int InsetMarginal::latex(Buffer const * buf,
                         ostream & os, bool fragile, bool fp) const
 {
        os << "%\n\\marginpar{";
-       
+
        int const i = inset.latex(buf, os, fragile, fp);
        os << "%\n}";
-       
+
        return i + 2;
 }