From: André Pönitz Date: Sat, 29 Sep 2007 21:06:50 +0000 (+0000) Subject: compile fix X-Git-Tag: 1.6.10~8114 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ca304dea840f46ae3bdb5c7b9f4c23671e44d7ec;p=features.git compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20600 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/Context.cpp b/src/tex2lyx/Context.cpp index 558820f00e..ae64f43480 100644 --- a/src/tex2lyx/Context.cpp +++ b/src/tex2lyx/Context.cpp @@ -10,10 +10,12 @@ #include -#include +#include "Context.h" +#include "Layout.h" #include "support/lstrings.h" -#include "Context.h" + +#include namespace lyx { @@ -25,7 +27,7 @@ using std::string; namespace { -void begin_layout(ostream & os, LayoutPtr layout, TeXFont const & font, +void begin_layout(ostream & os, LayoutPtr const & layout, TeXFont const & font, TeXFont const & normalfont) { os << "\n\\begin_layout " << to_utf8(layout->name()) << "\n"; diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index 632acc6a7a..2c5f0db1f7 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -17,6 +17,7 @@ #include "debug.h" #include "TextClass.h" +#include "Layout.h" #include "support/convert.h" #include "support/filetools.h" diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b070ccd799..4158b54643 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -15,6 +15,7 @@ #include "tex2lyx.h" #include "Context.h" +#include "Layout.h" #include "FloatList.h" #include "lengthcommon.h" #include "support/lstrings.h"