From fa77b206ab841ee24f38310e05aa8387b2ce5741 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 10 Jul 2002 06:52:05 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4577 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_braceinset.h | 1 - src/mathed/math_fontinset.C | 1 - src/mathed/math_sizeinset.C | 7 +++++++ src/mathed/math_sizeinset.h | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_braceinset.h b/src/mathed/math_braceinset.h index 298202e898..ebfecb6c72 100644 --- a/src/mathed/math_braceinset.h +++ b/src/mathed/math_braceinset.h @@ -3,7 +3,6 @@ #define MATH_BRACEINSET_H #include "math_nestinset.h" -#include "math_metricsinfo.h" #ifdef __GNUG__ #pragma interface diff --git a/src/mathed/math_fontinset.C b/src/mathed/math_fontinset.C index d3ea87547f..23fa28c257 100644 --- a/src/mathed/math_fontinset.C +++ b/src/mathed/math_fontinset.C @@ -15,7 +15,6 @@ - MathFontInset::MathFontInset(string const & name) : MathNestInset(1), name_(name) { diff --git a/src/mathed/math_sizeinset.C b/src/mathed/math_sizeinset.C index 5ba9927690..7fb67920b5 100644 --- a/src/mathed/math_sizeinset.C +++ b/src/mathed/math_sizeinset.C @@ -9,6 +9,7 @@ #include "math_mathmlstream.h" #include "math_streamstr.h" #include "math_support.h" +#include "support/LOstream.h" MathSizeInset::MathSizeInset(latexkeys const * l) @@ -50,3 +51,9 @@ void MathSizeInset::normalize(NormalStream & os) const { os << "[" << key_->name << ' ' << cell(0) << ']'; } + + +void MathSizeInset::infoize(std::ostream & os) const +{ + os << "Size: " << key_->name; +} diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index a1bc12b49b..cae5e679a4 100644 --- a/src/mathed/math_sizeinset.h +++ b/src/mathed/math_sizeinset.h @@ -29,6 +29,8 @@ public: void write(WriteStream & os) const; /// void normalize(NormalStream &) const; + /// + void infoize(std::ostream & os) const; private: /// -- 2.39.2