mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
9f1ae6c425
commit
9b8e429a64
@ -26,8 +26,6 @@
|
||||
#include "support/FileName.h"
|
||||
#include "support/types.h"
|
||||
|
||||
#include "frontends/controllers/frontend_helpers.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lyx {
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include "support/docstream.h"
|
||||
#include "support/filetools.h"
|
||||
|
||||
#include "frontends/controllers/frontend_helpers.h"
|
||||
|
||||
using std::endl;
|
||||
using std::find;
|
||||
using std::string;
|
||||
|
@ -407,8 +407,7 @@ Inset * readInset(Lexer & lex, Buffer const & buf)
|
||||
// the various \\footcite commands. We should increase the
|
||||
// file format number and read these commands here, too.
|
||||
// Then we should use is_possible_cite_command() in
|
||||
// src/frontends/controllers/frontend_helpers.cpp to test for valid cite
|
||||
// commands.
|
||||
// InsetCitation to test for valid cite commands.
|
||||
if (compare_ascii_no_case(cmdName.substr(0,4), "cite") == 0) {
|
||||
inset.reset(new InsetCitation(inscmd));
|
||||
} else if (cmdName == "bibitem") {
|
||||
|
@ -68,7 +68,7 @@ InsetCommandParams::findInfo(std::string const & name)
|
||||
|
||||
// InsetCitation
|
||||
// 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" ||
|
||||
name == "citealp" || name == "citeauthor" || name == "citeyear" ||
|
||||
name == "citeyearpar" || name == "citet*" || name == "citep*" ||
|
||||
|
Loading…
Reference in New Issue
Block a user