From: Jean-Marc Lasgouttes Date: Wed, 14 Feb 2001 15:00:50 +0000 (+0000) Subject: mathed compilation fixes X-Git-Tag: 1.6.10~21617 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5b55f3baff0812c010b85d4a815e8aacc16bd116;p=features.git mathed compilation fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1510 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 9c2de76d2e..3c910378a4 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,4 +1,26 @@ +2001-02-14 Jean-Marc Lasgouttes + + * math_matrixinset.C: + + * math_macrotemplate.C: + + * math_funcinset.C: + + * math_fracinset.C: + + * math_dotsinset.C: + + * math_deliminset.C: + + * math_decorationinset.C: + + * math_bigopinset.C: + + * math_accentinset.C: + * math_sqrtinset.C: include LOstream.h and add using directive. + 2001-02-12 André Pönitz + * math_iter.C: reformatting 2001-02-13 Lars Gullik Bjønnes diff --git a/src/mathed/math_accentinset.C b/src/mathed/math_accentinset.C index e16b59be22..c764348f40 100644 --- a/src/mathed/math_accentinset.C +++ b/src/mathed/math_accentinset.C @@ -3,7 +3,9 @@ #include "math_accentinset.h" #include "mathed/support.h" #include "math_parser.h" +#include "support/LOstream.h" +using std::ostream; MathAccentInset::MathAccentInset(byte cx, MathedTextCodes f, int cd, short st) : MathedInset("", LM_OT_ACCENT, st), c(cx), fn(f), code(cd) diff --git a/src/mathed/math_bigopinset.C b/src/mathed/math_bigopinset.C index 5e5823df73..6d8e0ee339 100644 --- a/src/mathed/math_bigopinset.C +++ b/src/mathed/math_bigopinset.C @@ -4,6 +4,9 @@ #include "LColor.h" #include "Painter.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; bool MathBigopInset::GetLimits() const { diff --git a/src/mathed/math_decorationinset.C b/src/mathed/math_decorationinset.C index 6e38a1cca1..6c8b30a3fc 100644 --- a/src/mathed/math_decorationinset.C +++ b/src/mathed/math_decorationinset.C @@ -4,6 +4,9 @@ #include "math_iter.h" #include "mathed/support.h" #include "math_parser.h" +#include "support/LOstream.h" + +using std::ostream; bool MathDecorationInset::GetLimits() const diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 9e4bbcaf3a..deecead4ff 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -6,6 +6,9 @@ #include "LColor.h" #include "Painter.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; MathDelimInset::MathDelimInset(int l, int r, short st) diff --git a/src/mathed/math_dotsinset.C b/src/mathed/math_dotsinset.C index fc4b37f55d..d3deb556c3 100644 --- a/src/mathed/math_dotsinset.C +++ b/src/mathed/math_dotsinset.C @@ -2,6 +2,9 @@ #include "math_dotsinset.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; MathDotsInset::MathDotsInset(string const & nam, int id, short st) diff --git a/src/mathed/math_fracinset.C b/src/mathed/math_fracinset.C index 73be7a8f75..3e5d5e23b5 100644 --- a/src/mathed/math_fracinset.C +++ b/src/mathed/math_fracinset.C @@ -5,6 +5,9 @@ #include "LColor.h" #include "Painter.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; MathFracInset::MathFracInset(short ot) diff --git a/src/mathed/math_funcinset.C b/src/mathed/math_funcinset.C index 4a5c4d74fd..093ee9c569 100644 --- a/src/mathed/math_funcinset.C +++ b/src/mathed/math_funcinset.C @@ -5,6 +5,9 @@ #include "font.h" #include "Painter.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; extern LyXFont WhichFont(short type, int size); diff --git a/src/mathed/math_macrotable.C b/src/mathed/math_macrotable.C index b34ac612c8..218c4794e6 100644 --- a/src/mathed/math_macrotable.C +++ b/src/mathed/math_macrotable.C @@ -11,6 +11,7 @@ #include "math_parinset.h" #include "debug.h" +using std::endl; MathMacroTable MathMacroTable::mathMTable; diff --git a/src/mathed/math_macrotemplate.C b/src/mathed/math_macrotemplate.C index 21e0083575..37d7f0edf4 100644 --- a/src/mathed/math_macrotemplate.C +++ b/src/mathed/math_macrotemplate.C @@ -3,6 +3,9 @@ #include "math_macrotemplate.h" #include "math_macro.h" #include "macro_support.h" +#include "support/LOstream.h" + +using std::ostream; void MathMacroTemplate::setTCode(MathedTextCodes t) diff --git a/src/mathed/math_matrixinset.C b/src/mathed/math_matrixinset.C index 8c05eb7fc6..3ee0ab9691 100644 --- a/src/mathed/math_matrixinset.C +++ b/src/mathed/math_matrixinset.C @@ -3,6 +3,9 @@ #include "math_matrixinset.h" #include "math_rowst.h" #include "math_xiter.h" +#include "support/LOstream.h" + +using std::ostream; extern int number_of_newlines; diff --git a/src/mathed/math_root.C b/src/mathed/math_root.C index 37c5af883b..0a95822fdf 100644 --- a/src/mathed/math_root.C +++ b/src/mathed/math_root.C @@ -21,6 +21,7 @@ #include "math_iter.h" #include "math_root.h" +#include "support/LOstream.h" using std::ostream; diff --git a/src/mathed/math_spaceinset.C b/src/mathed/math_spaceinset.C index c7561ccda3..a36fef44a9 100644 --- a/src/mathed/math_spaceinset.C +++ b/src/mathed/math_spaceinset.C @@ -4,6 +4,9 @@ #include "LColor.h" #include "Painter.h" #include "mathed/support.h" +#include "support/LOstream.h" + +using std::ostream; void MathSpaceInset::Metrics() diff --git a/src/mathed/math_sqrtinset.C b/src/mathed/math_sqrtinset.C index 1ff4b84c57..388c4711d6 100644 --- a/src/mathed/math_sqrtinset.C +++ b/src/mathed/math_sqrtinset.C @@ -5,7 +5,9 @@ #include "LColor.h" #include "Painter.h" #include "support.h" +#include "support/LOstream.h" +using std::ostream; MathSqrtInset::MathSqrtInset(short st) : MathParInset(st, "sqrt", LM_OT_SQRT) {}