remove unnecessary includes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20228 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-09-11 21:43:55 +00:00
parent 9f1ae6c425
commit 9b8e429a64
4 changed files with 2 additions and 7 deletions

View File

@ -26,8 +26,6 @@
#include "support/FileName.h" #include "support/FileName.h"
#include "support/types.h" #include "support/types.h"
#include "frontends/controllers/frontend_helpers.h"
#include <vector> #include <vector>
namespace lyx { namespace lyx {

View File

@ -29,8 +29,6 @@
#include "support/docstream.h" #include "support/docstream.h"
#include "support/filetools.h" #include "support/filetools.h"
#include "frontends/controllers/frontend_helpers.h"
using std::endl; using std::endl;
using std::find; using std::find;
using std::string; using std::string;

View File

@ -407,8 +407,7 @@ Inset * readInset(Lexer & lex, Buffer const & buf)
// the various \\footcite commands. We should increase the // the various \\footcite commands. We should increase the
// file format number and read these commands here, too. // file format number and read these commands here, too.
// Then we should use is_possible_cite_command() in // Then we should use is_possible_cite_command() in
// src/frontends/controllers/frontend_helpers.cpp to test for valid cite // InsetCitation to test for valid cite commands.
// commands.
if (compare_ascii_no_case(cmdName.substr(0,4), "cite") == 0) { if (compare_ascii_no_case(cmdName.substr(0,4), "cite") == 0) {
inset.reset(new InsetCitation(inscmd)); inset.reset(new InsetCitation(inscmd));
} else if (cmdName == "bibitem") { } else if (cmdName == "bibitem") {

View File

@ -68,7 +68,7 @@ InsetCommandParams::findInfo(std::string const & name)
// InsetCitation // InsetCitation
// FIXME: Use is_possible_cite_command() in // FIXME: Use is_possible_cite_command() in
// src/frontends/controllers/frontend_helpers.cpp, see comment in src/factory.cpp. // InsetCitation, see comment in src/factory.cpp.
if (name == "cite" || name == "citet" || name == "citep" || name == "citealt" || if (name == "cite" || name == "citet" || name == "citep" || name == "citealt" ||
name == "citealp" || name == "citeauthor" || name == "citeyear" || name == "citealp" || name == "citeauthor" || name == "citeyear" ||
name == "citeyearpar" || name == "citet*" || name == "citep*" || name == "citeyearpar" || name == "citet*" || name == "citep*" ||