]> git.lyx.org Git - lyx.git/commitdiff
Strip out redundant #includes
authorAngus Leeming <leeming@lyx.org>
Fri, 5 Sep 2003 02:53:05 +0000 (02:53 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 5 Sep 2003 02:53:05 +0000 (02:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7668 a592a061-630c-0410-9148-cb99ea01b6c8

59 files changed:
src/mathed/ChangeLog
src/mathed/formula.C
src/mathed/formulabase.C
src/mathed/formulamacro.C
src/mathed/math_amsarrayinset.C
src/mathed/math_arrayinset.C
src/mathed/math_atom.C
src/mathed/math_autocorrect.C
src/mathed/math_biginset.C
src/mathed/math_binominset.C
src/mathed/math_boxinset.C
src/mathed/math_braceinset.C
src/mathed/math_casesinset.C
src/mathed/math_charinset.C
src/mathed/math_commentinset.C
src/mathed/math_cursor.C
src/mathed/math_data.C
src/mathed/math_deliminset.C
src/mathed/math_diffinset.C
src/mathed/math_diminset.C
src/mathed/math_dotsinset.C
src/mathed/math_exintinset.C
src/mathed/math_extern.C
src/mathed/math_factory.C
src/mathed/math_fboxinset.C
src/mathed/math_fontinset.C
src/mathed/math_fontoldinset.C
src/mathed/math_fracinset.C
src/mathed/math_frameboxinset.C
src/mathed/math_gridinset.C
src/mathed/math_hullinset.C
src/mathed/math_inset.C
src/mathed/math_iterator.C
src/mathed/math_kerninset.C
src/mathed/math_lefteqninset.C
src/mathed/math_liminset.C
src/mathed/math_macro.C
src/mathed/math_macroarg.C
src/mathed/math_macrotable.C
src/mathed/math_makeboxinset.C
src/mathed/math_mathmlstream.C
src/mathed/math_matrixinset.C
src/mathed/math_numberinset.C
src/mathed/math_oversetinset.C
src/mathed/math_parboxinset.C
src/mathed/math_parser.C
src/mathed/math_pos.C
src/mathed/math_sizeinset.C
src/mathed/math_spaceinset.C
src/mathed/math_sqrtinset.C
src/mathed/math_stackrelinset.C
src/mathed/math_streamstr.C
src/mathed/math_stringinset.C
src/mathed/math_substackinset.C
src/mathed/math_support.C
src/mathed/math_tabularinset.C
src/mathed/math_undersetinset.C
src/mathed/math_xarrowinset.C
src/mathed/ref_inset.C

index 4e6aaa275822c95e94afdfdc6470f42c0aaf1892..1d7090128c808bad607b17f83cd72e79eafe17e6 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-05  Angus Leeming  <leeming@lyx.org>
+
+       * most .C files: strip out redundant #includes.
+
 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
 
        * formulamacro.C (prefix): replace %s by %1$s to make bformat happy
index 524d8f2bfc9d1a47c90f03198b762c94b8227610..4bf5d1faf11f16c0c5eb0930f65ef3629c0bd6dd 100644 (file)
 #include "formula.h"
 #include "math_cursor.h"
 #include "math_parser.h"
-#include "math_charinset.h"
-#include "math_arrayinset.h"
-#include "metricsinfo.h"
-#include "math_deliminset.h"
 #include "math_hullinset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
 #include "textpainter.h"
 
-#include "BufferView.h"
-#include "gettext.h"
 #include "debug.h"
 #include "latexrunparams.h"
-#include "lyxrc.h"
-#include "funcrequest.h"
 #include "Lsstream.h"
 
-#include "support/LOstream.h"
-#include "support/LAssert.h"
-#include "support/lyxlib.h"
-#include "support/systemcall.h"
-#include "support/filetools.h"
 
-#include "frontends/Alert.h"
-#include "frontends/LyXView.h"
 #include "frontends/Painter.h"
 
 #include "graphics/PreviewedInset.h"
index f979a18371f32556de8aa6bef800654c70dbeb4c..a83a2aab5c8b5437a0edd6c8d7323a5a1b174d77 100644 (file)
 #include "support/LAssert.h"
 #include "formula.h"
 #include "formulamacro.h"
-#include "lyxrc.h"
 #include "funcrequest.h"
 #include "BufferView.h"
 #include "lyxtext.h"
 #include "gettext.h"
-#include "LaTeXFeatures.h"
 #include "debug.h"
 #include "math_support.h"
-#include "metricsinfo.h"
-#include "math_data.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
 #include "frontends/LyXView.h"
-#include "frontends/font_metrics.h"
-#include "frontends/mouse_state.h"
 #include "math_arrayinset.h"
-#include "math_charinset.h"
 #include "math_deliminset.h"
 #include "math_cursor.h"
 #include "math_factory.h"
-#include "math_fontinset.h"
 #include "math_hullinset.h"
-#include "math_iterator.h"
-#include "math_macrotable.h"
 #include "math_parser.h"
-#include "math_pos.h"
 #include "math_spaceinset.h"
 #include "undo_funcs.h"
-#include "textpainter.h"
 #include "frontends/Dialogs.h"
-#include "intl.h"
 #include "ref_inset.h"
 
-#include <fstream>
 
 using namespace lyx::support;
 
index a54a0e3642a16b3ae6b3d2bdc2d471574d285870..fab1bfa508316bca370b2ddac00fb384d658d267 100644 (file)
 #include <config.h>
 
 #include "formulamacro.h"
-#include "lfuns.h"
 #include "math_cursor.h"
-#include "math_parser.h"
-#include "math_macro.h"
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
-#include "metricsinfo.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
-#include "BufferView.h"
 #include "gettext.h"
 #include "latexrunparams.h"
 #include "frontends/Painter.h"
 #include "frontends/font_metrics.h"
-#include "support/lyxlib.h"
 #include "support/lstrings.h"
-#include "support/LOstream.h"
-#include "debug.h"
 #include "lyxlex.h"
-#include "lyxtext.h"
 #include "Lsstream.h"
 
 using namespace lyx::support;
index bc89a191dcf9ce68a6c6720ae34f17c233481222..0aca0bb6883691f30098d5e9bf762862fee21eb4 100644 (file)
 
 #include "math_amsarrayinset.h"
 #include "math_mathmlstream.h"
-#include "metricsinfo.h"
 #include "math_streamstr.h"
 #include "math_support.h"
-#include "Lsstream.h"
 
 using std::auto_ptr;
 
index 9465aa03ee1bf45a3abc692ba4974757673ebfe5..a84c53653fddd83b988a9a86134d610ce066aa9a 100644 (file)
@@ -13,7 +13,6 @@
 #include "math_arrayinset.h"
 #include "math_parser.h"
 #include "math_mathmlstream.h"
-#include "metricsinfo.h"
 #include "math_streamstr.h"
 #include "Lsstream.h"
 
index 6706b33cbc1b6717399ac761a608a8940360d123..c77a1512eef3609eb3d6905587f0cb7fecb0963d 100644 (file)
@@ -12,9 +12,7 @@
 
 #include "math_atom.h"
 #include "math_inset.h"
-#include "insets/insetbase.h"
 
-#include <utility>
 
 
 MathAtom::MathAtom()
index 27fbf604ea8bb02cca07113188271e6bc1aa1090..63a74f33cb1b37ef56cd699465a3b36139f9ca6a 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <config.h>
 
-#include "LString.h"
 #include "Lsstream.h"
 #include "debug.h"
 #include "support/filetools.h" //  LibFileSearch
@@ -18,9 +17,7 @@
 #include "math_inset.h"
 #include "math_parser.h"
 
-#include <iostream>
 #include <fstream>
-#include <vector>
 
 using namespace lyx::support;
 
index 1bd849d42736740ad2b66a9d8db2b814173d3ebb..1bf4de266b40e17baf2297a613c6bb523ac86d93 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_biginset.h"
 #include "math_support.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 
index 20675a8ca4ba67e3b4cabec8bb81f5da17aaa40f..b3707fd1a61da8d1a34e35c49b7c55464f211355 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_binominset.h"
 #include "math_support.h"
-#include "support/LOstream.h"
 #include "math_mathmlstream.h"
 
 
index dd28994efad9c2d34ae89e52818699caaabf1002..67dc6bd89ededce30705b619f9a78aa88e805b9d 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_boxinset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "support/LOstream.h"
index fd9258791ef4f23a8339a9b5d45eab98ed848dc4..a782a8ca312fa5d3c5d68c1359645366603be82d 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_braceinset.h"
-#include "math_parser.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
 #include "support/LOstream.h"
index 4655fd6d8d6ee00486033b843d293710e3ae5c9b..050d62e43a18e971497c49cbc520ee3f87e43721 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_casesinset.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_support.h"
 #include "LaTeXFeatures.h"
index 7e03bfcc7e7d1b34b51da9d747b6c92a62a10d71..ab2fb14e72529f3c2a8702b27d8bfe8a621a27ac 100644 (file)
 #include <config.h>
 
 #include "math_charinset.h"
-#include "LColor.h"
 #include "dimension.h"
-#include "frontends/Painter.h"
-#include "frontends/font_metrics.h"
 #include "support/LOstream.h"
-#include "debug.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
-#include "LaTeXFeatures.h"
 #include "textpainter.h"
 
-#include <cctype>
-#include <cstring>
 
 
 using std::ostream;
index 2d61aaaf4f345e2a7643dba2854fcffe3e79b5d5..cfe0262eb88ec2d079caaf558cedd5d6ee974d2f 100644 (file)
 #include <config.h>
 
 #include "math_commentinset.h"
-#include "math_data.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
-#include "LaTeXFeatures.h"
 #include "support/LOstream.h"
-#include "textpainter.h"
 
 using std::auto_ptr;
 
index 157d565d094dd635e3e465877e0b97d28785016d..8f7636b357e8cb29e97dfd32c92b5e639c05b032 100644 (file)
 
 #include <lyxrc.h>
 
-#include "support/lstrings.h"
 #include "support/LAssert.h"
 #include "support/limited_stack.h"
 #include "debug.h"
 #include "Lsstream.h"
-#include "frontends/Painter.h"
 #include "math_cursor.h"
 #include "formulabase.h"
 #include "funcrequest.h"
-#include "math_autocorrect.h"
 #include "math_braceinset.h"
 #include "math_commentinset.h"
 #include "math_charinset.h"
-#include "math_extern.h"
 #include "math_factory.h"
-#include "math_fontinset.h"
 #include "math_gridinset.h"
-#include "math_iterator.h"
 #include "math_macroarg.h"
 #include "math_macrotemplate.h"
 #include "math_mathmlstream.h"
@@ -39,8 +33,6 @@
 #include "math_support.h"
 #include "math_unknowninset.h"
 
-#include <algorithm>
-#include <cctype>
 
 //#define FILEDEBUG 1
 
index 9094764faeda85cbd901e6d5432982808a49717c..469c6358dfb1ce70016388cec7479a63adfda61d 100644 (file)
 
 #include <config.h>
 
-#include "math_data.h"
-#include "math_inset.h"
 #include "math_cursor.h"
-#include "math_deliminset.h"
 #include "math_fontinset.h"
 #include "math_scriptinset.h"
 #include "math_mathmlstream.h"
 #include "math_replace.h"
 #include "debug.h"
 #include "support/LAssert.h"
-#include "metricsinfo.h"
-#include "math_data.h"
 #include "frontends/Painter.h"
-#include "textpainter.h"
 
 using namespace lyx::support;
 
index a7d0a2f6e7aa513bd44eaaea9c192086a4516218..a700569c79b56990397856a0a6970d1d7f897471 100644 (file)
 #include <config.h>
 
 #include "math_deliminset.h"
-#include "math_parser.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "math_extern.h"
 
 
 using std::max;
index d81bbd8c0d6484299d1ea2f278f4c0f8594b9d96..0af81f9c032c473389af6df115dd87b1ec7a17bf 100644 (file)
@@ -11,9 +11,7 @@
 #include <config.h>
 
 #include "math_diffinset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
-#include "math_symbolinset.h"
 #include "debug.h"
 
 using std::auto_ptr;
index 791b361027eae84572ae475fd739c079e423b2ab..f1253db1921d28dd4fbffb904329bb8e01fd9da1 100644 (file)
@@ -11,8 +11,6 @@
 #include <config.h>
 
 #include "math_diminset.h"
-#include "Lsstream.h"
-#include "textpainter.h"
 
 
 void MathDimInset::metricsT(TextMetricsInfo const &) const
index 979cf13685472677acf09cd9c5775ded894fad7a..10923779dc0c93e7102bd8ced841687d15dfd732 100644 (file)
@@ -13,7 +13,6 @@
 
 #include "math_dotsinset.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
 #include "math_support.h"
 #include "math_parser.h"
 
index 3658e281adcc3c6cc770fa14e749181fae47c285..bd5f9dc20c291ce7461720786ee04be4cce0a2b0 100644 (file)
 #include <config.h>
 
 #include "math_exintinset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_symbolinset.h"
 #include "debug.h"
 
-#include <boost/scoped_ptr.hpp>
 
 using std::auto_ptr;
 using std::endl;
index 0d40f9873daa02506ee0f573606d25d2c022c7d4..e053c264dfd2fd5a28a45a180d73ce97237de8cb 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <config.h>
 
-#include "math_amsarrayinset.h"
 #include "math_arrayinset.h"
 #include "math_charinset.h"
 #include "math_deliminset.h"
 #include "math_scriptinset.h"
 #include "math_stringinset.h"
 #include "math_symbolinset.h"
-#include "math_unknowninset.h"
 #include "math_parser.h"
 #include "Lsstream.h"
 #include "debug.h"
-#include "support/lyxlib.h"
-#include "support/systemcall.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 
-#include <algorithm>
 
 using namespace lyx::support;
 
index eaa9be204be406e011e9fe3397624ce52b26e5fa..7d60bb349c230ff53e97d83ed7094927f8b602a2 100644 (file)
@@ -29,7 +29,6 @@
 #include "math_macro.h"
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
-#include "math_macroarg.h"
 #include "math_makeboxinset.h"
 #include "math_oversetinset.h"
 #include "math_parboxinset.h"
@@ -49,8 +48,6 @@
 //#include "insets/insetref.h"
 #include "ref_inset.h"
 
-#include "metricsinfo.h"
-#include "math_data.h"
 #include "debug.h"
 #include "math_support.h"
 #include "Lsstream.h"
@@ -58,7 +55,6 @@
 #include "support/lstrings.h"
 #include "frontends/lyx_gui.h"
 
-#include <map>
 #include <fstream>
 
 using namespace lyx::support;
index 4824231ddfdb5487305a63a9c7a83c0317e1d45b..783eea1bbf388c071c3390a5f221143d2cf65ad9 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_fboxinset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_parser.h"
index d9728d6573ab47409ba7f50350a59cde6608a1fd..24b95bb4c1f02dc90eba6606c775f0d15f48d5b1 100644 (file)
 
 #include "math_fontinset.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
-#include "math_support.h"
 #include "math_parser.h"
 #include "LaTeXFeatures.h"
 #include "support/LOstream.h"
-#include "textpainter.h"
 
 using std::auto_ptr;
 
index 1bb2165116fee39ec98edf08ec91fd903222985a..84fd74f6d41083bdb140363c847293268c3d1658 100644 (file)
 #include "math_fontoldinset.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "math_support.h"
 #include "math_parser.h"
-#include "textpainter.h"
 #include "support/LOstream.h"
-#include "frontends/Painter.h"
 
 using std::auto_ptr;
 
index 384be55469de85859c1f561b8e99c75a742977d9..06674c69edfe3d834d97381a7978d4ec6b37b615 100644 (file)
@@ -12,7 +12,6 @@
 #include <config.h>
 
 #include "math_fracinset.h"
-#include "math_support.h"
 #include "frontends/Painter.h"
 #include "math_mathmlstream.h"
 #include "textpainter.h"
index 1f11e421d4f8b64ad9d69558f2db7d28a352a130..f09c40c2c44484e5c75360115e2110dabae5e04b 100644 (file)
@@ -13,7 +13,6 @@
 #include "math_frameboxinset.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
 #include "frontends/Painter.h"
 
 using std::auto_ptr;
index 71b505da9989753051882d07e4dac764b783c785..bec0cf3b21fb2f36ac31650cdef467b9b3bedcaa 100644 (file)
@@ -13,7 +13,6 @@
 #include "math_gridinset.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "lyxfont.h"
 #include "funcrequest.h"
 #include "frontends/Painter.h"
 #include "debug.h"
index 15ca41d6eaf5f2d42966857ebc0792ae8c7112c7..10bff0f49b3b804437334136fa336105475ed642 100644 (file)
 #include "Lsstream.h"
 #include "LaTeXFeatures.h"
 #include "support/LAssert.h"
-#include "frontends/Painter.h"
 
 #include "frontends/Alert.h"
 #include "lyxrc.h"
 #include "gettext.h"
-#include "BufferView.h"
 
-#include <vector>
 
 using namespace lyx::support;
 
index 9c998f0683dc3391d91169bdb960b9c14dfcddeb..a9bd6d848b19341a692cb83537b5eb5b14a04cd9 100644 (file)
 
 #include <config.h>
 
-#include "math_inset.h"
-#include "math_scriptinset.h"
 #include "math_mathmlstream.h"
 #include "math_cursor.h"
 #include "debug.h"
 
-#include "frontends/LyXView.h"
-#include "frontends/Dialogs.h"
-#include "BufferView.h"
 #include "formulabase.h"
 
 using std::ostream;
index bd15564ac0bb3836638e8b4f0d4eaa0f62766dc8..b599e604fc289dfce3e9c74cfb79e8a9e69a41ab 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_iterator.h"
 #include "math_inset.h"
-#include "debug.h"
 #include "support/LAssert.h"
 
 using namespace lyx::support;
index 116a266f707216d10c1d7350a0886b0ac2157390..f17311986310398fe9f44fc6d34c9f566537e667 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_kerninset.h"
-#include "math_extern.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_support.h"
index e693ed79e0eae95f4076e51f69837115bb63542f..fb05e5988b61aacf1e941ec11d26dee896b3ffe8 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_lefteqninset.h"
-#include "math_support.h"
 #include "support/LOstream.h"
 
 using std::auto_ptr;
index 4e0721aa9910b9ea2466b66ab47caaea73936d0b..89639368f5d35434b357ebdadbf5be10f8b2b88e 100644 (file)
@@ -11,9 +11,7 @@
 #include <config.h>
 
 #include "math_liminset.h"
-#include "math_support.h"
 #include "math_mathmlstream.h"
-#include "math_symbolinset.h"
 #include "debug.h"
 
 using std::auto_ptr;
index 340c448c3c2d107a7c2bad0b055ff29ac46a7a30..82a36f3a6a7c4f48723a7c81ba2c185b16b3df0a 100644 (file)
@@ -17,9 +17,6 @@
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
-#include "support/lstrings.h"
-#include "support/LAssert.h"
 #include "debug.h"
 #include "LaTeXFeatures.h"
 
index 5073c37087aab4f7764ecbef34a25d9e4cea0043..702b43c73e9c3b857a6f964f760b0878778245e3 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <config.h>
 
-#include "math_macroarg.h"
 #include "math_macro.h"
 #include "math_mathmlstream.h"
 #include "math_support.h"
index 885bd5b3b3738e00df1d4d466397937c7348cea7..e6475be71d65a9cba902815f29db3603a8aa3340 100644 (file)
 #include <config.h>
 
 #include "math_macrotable.h"
-#include "math_macro.h"
 #include "math_macrotemplate.h"
-#include "math_parser.h"
-#include "math_mathmlstream.h"
 #include "debug.h"
-#include "math_support.h" // math_font_available
 
-#include <iostream>
 
 using std::endl;
 
index 1ae10b02701d7c7511c734ef70991f17c0362837..73feb414e4ad1974c759249edf4f1e15c84d1cdc 100644 (file)
@@ -13,8 +13,6 @@
 #include "math_makeboxinset.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
-#include "frontends/Painter.h"
 
 using std::auto_ptr;
 
index 9cfbdac62e410538d9d9826568fc6bac2ea38861..a12a646abc923d96327560354d207a3ff88efe7e 100644 (file)
@@ -14,9 +14,7 @@
 #include "math_inset.h"
 #include "math_data.h"
 #include "math_extern.h"
-#include "debug.h"
 #include "support/lyxalgo.h"
-#include "support/LOstream.h"
 
 
 using std::ostream;
index e26e1416b655b7e570d315d528b74f576e45101c..23b4bdd15b5276b64cbdb074786524f184ce499d 100644 (file)
@@ -11,9 +11,7 @@
 #include <config.h>
 
 #include "math_matrixinset.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
-#include "Lsstream.h"
 
 using std::auto_ptr;
 
index 5417200afd5c5d236b59e9d467bb81d3f3d8108e..d93cdbc3197afcc96366729db8a597d94eb7b049 100644 (file)
@@ -14,7 +14,6 @@
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_support.h"
-#include "debug.h"
 
 using std::auto_ptr;
 
index 5356f28452b7ee67c3022144bed99bc820e779a8..a9d6ee093eb37f0ee1867e3153809328dc1500c5 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_oversetinset.h"
 #include "math_mathmlstream.h"
-#include "math_support.h"
 
 
 using std::max;
index 86766ba5c899907dc2e18dc0cdb0a94ef7ef9ab6..21f851472ca89a5ec30e10cc65813a24f6b94e30 100644 (file)
@@ -13,7 +13,6 @@
 #include "math_parboxinset.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "lyxlength.h"
 #include "debug.h"
 
 using std::auto_ptr;
index 9827f6bdf32bef79c77d2626fd594acb6c6c491c..1efd8ec7db9ad6c69975764716cf6ef029797128 100644 (file)
@@ -39,27 +39,21 @@ following hack as starting point to write some macros:
 #include <config.h>
 
 #include "math_parser.h"
-#include "math_inset.h"
 #include "math_arrayinset.h"
 #include "math_braceinset.h"
-#include "math_boxinset.h"
 #include "math_charinset.h"
 #include "math_commentinset.h"
 #include "math_deliminset.h"
 #include "math_envinset.h"
-#include "math_extern.h"
 #include "math_factory.h"
 #include "math_kerninset.h"
 #include "math_macro.h"
 #include "math_macrotemplate.h"
-#include "math_hullinset.h"
 #include "math_parboxinset.h"
 #include "math_parinset.h"
 #include "math_rootinset.h"
 #include "math_scriptinset.h"
-#include "math_sizeinset.h"
 #include "math_sqrtinset.h"
-#include "math_stringinset.h"
 #include "math_support.h"
 #include "math_tabularinset.h"
 
@@ -69,10 +63,7 @@ following hack as starting point to write some macros:
 #include "lyxlex.h"
 #include "Lsstream.h"
 #include "debug.h"
-#include "support/LAssert.h"
 
-#include <cctype>
-#include <algorithm>
 
 using std::istream;
 using std::ostream;
index 522ac72443f6fb679101ca8711f5c755440627ce..6546268d3f033f57ae7def6d1aa8a9da6ef214a2 100644 (file)
@@ -14,7 +14,6 @@
 #include "math_inset.h"
 #include "debug.h"
 #include "support/LAssert.h"
-#include "support/LOstream.h"
 
 using namespace lyx::support;
 
index 1e744835c90a5c817858c1070c6e95d8cd15d1c9..0e9e4cca067914ea64eb3332eb997154f4fde267 100644 (file)
@@ -14,7 +14,6 @@
 #include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "math_support.h"
 #include "support/LOstream.h"
 
 using std::atoi;
index 99b51492f973337e47ee11d25fcfd477bdcf8259..5b77f0cb59ed64021e8c6824b007bd5aa7930380 100644 (file)
 
 #include "math_spaceinset.h"
 #include "math_data.h"
-#include "math_support.h"
-#include "LColor.h"
 #include "frontends/Painter.h"
 #include "math_mathmlstream.h"
 #include "LaTeXFeatures.h"
-#include "debug.h"
 
 using std::auto_ptr;
 
index ea4824171853c052a5bf5a390f1e4fe89501579b..c71dc6d35a4c476d655703cb33a939e878bddc60 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_sqrtinset.h"
 #include "math_mathmlstream.h"
-#include "LColor.h"
 #include "frontends/Painter.h"
 #include "textpainter.h"
 
index befe1391b4752317884981885827cea6827db586..79c10b757acf31bcf5e7a974a03e56120573c2e3 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_stackrelinset.h"
 #include "math_mathmlstream.h"
-#include "math_support.h"
 
 
 using std::max;
index 5db3b9a42cd8a229eee405fa7442220a8d62a848..7aad6164708a01e5894161652af5428403c8768e 100644 (file)
 
 #include <config.h>
 
-#include "math_streamstr.h"
 #include "math_mathmlstream.h"
-#include "support/LOstream.h"
-#include "support/lyxalgo.h"
 
 
 WriteStream & operator<<(WriteStream & ws, string const & s)
index 68e604ccb13f9d7f458faeb560249feb0c0eab6d..1df9f46d1f4ef007dc415d035eb557ff6a4c5b17 100644 (file)
@@ -14,7 +14,6 @@
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_support.h"
-#include "debug.h"
 
 using std::auto_ptr;
 
index 33e670674eeb2fdcbadd9cb8b4b468529ae126ca..47b4c78d4512c809b34147909aeb8f047cc502d1 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_substackinset.h"
 #include "math_mathmlstream.h"
-#include "math_streamstr.h"
 #include "support/LOstream.h"
 
 using std::auto_ptr;
index 8be4b03e730b9f48c9c2b1ce98a562a762fe3482..056d9ee97eed90d308fde9df22088b6185b70d62 100644 (file)
 #include <config.h>
 
 #include "math_support.h"
-#include "lyxfont.h"
-#include "math_inset.h"
 #include "math_parser.h"
-#include "metricsinfo.h"
 #include "math_data.h"
 #include "frontends/Painter.h"
 #include "frontends/font_metrics.h"
 #include "frontends/lyx_gui.h"
 #include "debug.h"
-#include "lfuns.h"
-#include "dimension.h"
 #include "Lsstream.h"
 #include "math_mathmlstream.h"
 
index 70e66fbadd60b2379910d3afc3802c63d7f0cfee..6d07dec5dd48c85b0d9195227f3b50dbbc54e5d3 100644 (file)
 #include <config.h>
 
 #include "math_tabularinset.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
-#include "metricsinfo.h"
 #include "math_streamstr.h"
-#include "Lsstream.h"
 
 #include <iterator>
 
index d647c0d36709f3bf9099d2a8b5d85fb6c7eba488..bf73084e030f9759c09ea4774e5922bf907cd9e3 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_undersetinset.h"
 #include "math_mathmlstream.h"
-#include "math_support.h"
 
 
 using std::max;
index fe80ae83110677507748257fa4d8b93a6c9168fd..b6287282d02d6a31a253b4aed5f4526b824ce421 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "math_xarrowinset.h"
 #include "math_support.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 
index 6dcf18a405b48d479efcf774c8fe30d4c19fb33a..d29f00493b4085cd06921edb185e84721950249a 100644 (file)
@@ -23,7 +23,6 @@
 #include "frontends/LyXView.h"
 #include "frontends/Dialogs.h"
 
-#include "support/LOstream.h"
 
 using std::auto_ptr;
 using std::endl;