From ab15a1ef504b5c8b017b43529113fac46dfa2eea Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 21 Jun 2002 16:35:29 +0000 Subject: [PATCH] More compilation fixes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4458 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/tex_helpers.C | 15 +++++++++------ src/frontends/controllers/tex_helpers.h | 8 ++++---- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index d6d2ff8e51..1d3302853a 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,8 @@ +2002-06-21 Angus Leeming + + * tex_helpers.C: Use not . Reorder header files. + * tex_helpers.h: #include "LString.h". + 2002-06-21 John Levon * ControlBibtex.C: diff --git a/src/frontends/controllers/tex_helpers.C b/src/frontends/controllers/tex_helpers.C index 79a1a4a1de..ed5c4021c4 100644 --- a/src/frontends/controllers/tex_helpers.C +++ b/src/frontends/controllers/tex_helpers.C @@ -7,21 +7,24 @@ */ #include -#include -#include -#include - -#include "gettext.h" #include "tex_helpers.h" -#include "support/filetools.h" + #include "debug.h" +#include "gettext.h" + +#include "support/filetools.h" #include "support/lstrings.h" #include "support/systemcall.h" #include "support/path.h" #include "support/lyxalgo.h" +#include +#include +#include + using std::vector; +using std::endl; using std::sort; using std::unique; diff --git a/src/frontends/controllers/tex_helpers.h b/src/frontends/controllers/tex_helpers.h index 0294b46601..c2be1d4a70 100644 --- a/src/frontends/controllers/tex_helpers.h +++ b/src/frontends/controllers/tex_helpers.h @@ -9,6 +9,8 @@ #ifndef TEX_HELPERS_H #define TEX_HELPERS_H +#include "LString.h" + // build filelists of all availabe bst/cls/sty-files. done through // kpsewhich and an external script, saved in *Files.lst void rescanTexStyles(); @@ -20,11 +22,9 @@ void texhash(); string const getTexFileList(string const & filename, bool withFullPath); /// get the options of stylefile -string const getListOfOptions(string const & classname, - string const & type); +string const getListOfOptions(string const & classname, string const & type); /// get a class with full path from the list -string const getTexFileFromList(string const & classname, - string const & type); +string const getTexFileFromList(string const & classname, string const & type); #endif // TEX_HELPERS_H