From: André Pönitz Date: Mon, 5 Nov 2007 22:54:53 +0000 (+0000) Subject: remove unneeded Cursor.h include; X-Git-Tag: 1.6.10~7468 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9cca7a0c1a2069f04e4104f0d96c14165757d869;p=features.git remove unneeded Cursor.h include; use strfwd git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21456 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Cursor.cpp b/src/Cursor.cpp index 791c2602bb..f7e949fb82 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -35,6 +35,8 @@ #include "ParIterator.h" #include "TextMetrics.h" +#include "support/docstream.h" + #include "insets/InsetTabular.h" #include "insets/InsetText.h" diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 9a857a1f19..2cab32ff7a 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -48,6 +48,7 @@ #include "support/limited_stack.h" #include "support/lstrings.h" +#include "support/docstream.h" #include "frontends/Clipboard.h" #include "frontends/Selection.h" diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 6efe804f0b..a99589a2a7 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -25,6 +25,7 @@ #include "BufferParams.h" #include "BufferView.h" #include "CoordCache.h" +#include "Cursor.h" #include "CutAndPaste.h" #include "debug.h" #include "FontIterator.h" diff --git a/src/mathed/InsetMathLefteqn.cpp b/src/mathed/InsetMathLefteqn.cpp index 358ecd3f0c..dffa982b9a 100644 --- a/src/mathed/InsetMathLefteqn.cpp +++ b/src/mathed/InsetMathLefteqn.cpp @@ -11,8 +11,8 @@ #include #include "InsetMathLefteqn.h" -#include "MathData.h" -#include "support/std_ostream.h" + +#include "support/docstream.h" namespace lyx { diff --git a/src/mathed/MathAutoCorrect.cpp b/src/mathed/MathAutoCorrect.cpp index f34765ec4d..2f8f1e8124 100644 --- a/src/mathed/MathAutoCorrect.cpp +++ b/src/mathed/MathAutoCorrect.cpp @@ -18,6 +18,7 @@ #include "debug.h" #include "support/filetools.h" // LibFileSearch +#include "support/docstream.h" #include #include diff --git a/src/mathed/MathData.h b/src/mathed/MathData.h index e6c4c378a4..d2730aeb48 100644 --- a/src/mathed/MathData.h +++ b/src/mathed/MathData.h @@ -15,18 +15,18 @@ #ifndef MATH_DATA_H #define MATH_DATA_H -#include - -#include "Cursor.h" #include "Dimension.h" #include "MathAtom.h" -#include "support/docstream.h" +#include "support/strfwd.h" + +#include namespace lyx { class BufferView; +class Cursor; class LaTeXFeatures; class ReplaceData; class MathMacro; diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp index 7a9be7d0bc..77f2ca26f0 100644 --- a/src/mathed/MathFactory.cpp +++ b/src/mathed/MathFactory.cpp @@ -55,6 +55,7 @@ #include "insets/InsetCommand.h" +#include "support/docstream.h" #include "support/filetools.h" // LibFileSearch #include "support/lstrings.h" diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index fedb313445..1d27f65f3e 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -66,6 +66,7 @@ following hack as starting point to write some macros: #include "debug.h" #include "support/convert.h" +#include "support/docstream.h" #include