]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.C
convert graphics for .tex export, fixes bug 1231
[lyx.git] / src / insets / insetmarginal.C
index d06fa37f8f8fc8196dfde3a29c72649ed683448e..e46838c06e78c61dfc7da8acfdb42cf864a29c29 100644 (file)
 #include "insetmarginal.h"
 
 #include "gettext.h"
+#include "paragraph.h"
 
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
 
+
+using std::string;
 using std::auto_ptr;
 using std::ostream;
 
@@ -50,12 +53,10 @@ string const InsetMarginal::editMessage() const
 
 
 int InsetMarginal::latex(Buffer const & buf, ostream & os,
-                        LatexRunParams const & runparams) const
+                        OutputParams const & runparams) const
 {
        os << "%\n\\marginpar{";
-
-       int const i = inset.latex(buf, os, runparams);
+       int const i = InsetText::latex(buf, os, runparams);
        os << "%\n}";
-
        return i + 2;
 }