From fda0fb66f3d0ebfec867b1eeaf33d24762020552 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 5 Sep 2003 16:18:57 +0000 Subject: [PATCH] All .C files should #include there own .h file I guess ;-) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7683 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/QCharacter.C | 2 +- src/frontends/qt2/QContentPane.C | 6 +++--- src/frontends/qt2/QLPainter.C | 2 +- src/frontends/qt2/WorkAreaFactory.C | 3 +-- src/frontends/qt2/qfont_metrics.C | 2 +- src/frontends/xforms/FileDialog.C | 1 + src/mathed/formulabase.C | 1 + src/mathed/math_autocorrect.C | 1 + src/mathed/math_data.C | 1 + src/mathed/math_extern.C | 1 + src/mathed/math_factory.C | 1 + src/mathed/math_inset.C | 1 + src/mathed/math_macroarg.C | 1 + src/mathed/math_streamstr.C | 1 + 14 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/frontends/qt2/QCharacter.C b/src/frontends/qt2/QCharacter.C index d372f35795..54c35d751a 100644 --- a/src/frontends/qt2/QCharacter.C +++ b/src/frontends/qt2/QCharacter.C @@ -11,7 +11,7 @@ #include - +#include "QCharacter.h" #include "ControlCharacter.h" #include "QCharacterDialog.h" #include "Qt2BC.h" diff --git a/src/frontends/qt2/QContentPane.C b/src/frontends/qt2/QContentPane.C index 5735402c4b..bbcea493fd 100644 --- a/src/frontends/qt2/QContentPane.C +++ b/src/frontends/qt2/QContentPane.C @@ -10,16 +10,16 @@ #include - - #include "QWorkArea.h" +#include "QContentPane.h" #include "QLyXKeySym.h" -#include "funcrequest.h" #include #include #include +#include "funcrequest.h" + using std::endl; namespace { diff --git a/src/frontends/qt2/QLPainter.C b/src/frontends/qt2/QLPainter.C index e9d6a6715c..54c9a1305f 100644 --- a/src/frontends/qt2/QLPainter.C +++ b/src/frontends/qt2/QLPainter.C @@ -10,7 +10,7 @@ #include - +#include "QLPainter.h" #include "font_metrics.h" #include "debug.h" #include "language.h" diff --git a/src/frontends/qt2/WorkAreaFactory.C b/src/frontends/qt2/WorkAreaFactory.C index c66d29c747..cc86dc237a 100644 --- a/src/frontends/qt2/WorkAreaFactory.C +++ b/src/frontends/qt2/WorkAreaFactory.C @@ -10,8 +10,7 @@ #include - - +#include "frontends/WorkAreaFactory.h" #include "QWorkArea.h" namespace WorkAreaFactory { diff --git a/src/frontends/qt2/qfont_metrics.C b/src/frontends/qt2/qfont_metrics.C index cbc0449927..b3798ee1fb 100644 --- a/src/frontends/qt2/qfont_metrics.C +++ b/src/frontends/qt2/qfont_metrics.C @@ -11,8 +11,8 @@ #include -#include "frontends/lyx_gui.h" #include "font_metrics.h" +#include "frontends/lyx_gui.h" #include "qfont_loader.h" #include "language.h" diff --git a/src/frontends/xforms/FileDialog.C b/src/frontends/xforms/FileDialog.C index 5729a7966f..9e06794288 100644 --- a/src/frontends/xforms/FileDialog.C +++ b/src/frontends/xforms/FileDialog.C @@ -10,6 +10,7 @@ #include +#include "frontends/FileDialog.h" #include "FormFiledialog.h" #include "debug.h" diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index a83a2aab5c..1f5f994152 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -11,6 +11,7 @@ #include +#include "formulabase.h" #include "Lsstream.h" #include "support/LAssert.h" #include "formula.h" diff --git a/src/mathed/math_autocorrect.C b/src/mathed/math_autocorrect.C index 63a74f33cb..06464b38a7 100644 --- a/src/mathed/math_autocorrect.C +++ b/src/mathed/math_autocorrect.C @@ -10,6 +10,7 @@ #include +#include "math_autocorrect.h" #include "Lsstream.h" #include "debug.h" #include "support/filetools.h" // LibFileSearch diff --git a/src/mathed/math_data.C b/src/mathed/math_data.C index 469c6358df..dfc678f40b 100644 --- a/src/mathed/math_data.C +++ b/src/mathed/math_data.C @@ -10,6 +10,7 @@ #include +#include "math_data.h" #include "math_cursor.h" #include "math_fontinset.h" #include "math_scriptinset.h" diff --git a/src/mathed/math_extern.C b/src/mathed/math_extern.C index 664663d7e0..60d763ed56 100644 --- a/src/mathed/math_extern.C +++ b/src/mathed/math_extern.C @@ -14,6 +14,7 @@ #include +#include "math_extern.h" #include "math_arrayinset.h" #include "math_charinset.h" #include "math_deliminset.h" diff --git a/src/mathed/math_factory.C b/src/mathed/math_factory.C index 7d60bb349c..2036bab309 100644 --- a/src/mathed/math_factory.C +++ b/src/mathed/math_factory.C @@ -10,6 +10,7 @@ #include +#include "math_factory.h" #include "math_parser.h" #include "math_arrayinset.h" #include "math_amsarrayinset.h" diff --git a/src/mathed/math_inset.C b/src/mathed/math_inset.C index a9bd6d848b..0c4fae9707 100644 --- a/src/mathed/math_inset.C +++ b/src/mathed/math_inset.C @@ -11,6 +11,7 @@ #include +#include "math_inset.h" #include "math_mathmlstream.h" #include "math_cursor.h" #include "debug.h" diff --git a/src/mathed/math_macroarg.C b/src/mathed/math_macroarg.C index 702b43c73e..5073c37087 100644 --- a/src/mathed/math_macroarg.C +++ b/src/mathed/math_macroarg.C @@ -11,6 +11,7 @@ #include +#include "math_macroarg.h" #include "math_macro.h" #include "math_mathmlstream.h" #include "math_support.h" diff --git a/src/mathed/math_streamstr.C b/src/mathed/math_streamstr.C index 7aad616470..23bba271e3 100644 --- a/src/mathed/math_streamstr.C +++ b/src/mathed/math_streamstr.C @@ -10,6 +10,7 @@ #include +#include "math_streamstr.h" #include "math_mathmlstream.h"