From 092e3ca6ec7b13d68235cc2a8027a2dc165fb9f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 25 Apr 2002 15:37:10 +0000 Subject: [PATCH] suppress (semi-)spurious informative message... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4070 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_fracinset.C | 6 ++++++ src/mathed/math_fracinset.h | 2 ++ src/mathed/math_scriptinset.C | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mathed/math_fracinset.C b/src/mathed/math_fracinset.C index 6e27e9079c..69f935689e 100644 --- a/src/mathed/math_fracinset.C +++ b/src/mathed/math_fracinset.C @@ -96,6 +96,12 @@ void MathFracInset::maplize(MapleStream & os) const } +void MathFracInset::octavize(OctaveStream & os) const +{ + os << '(' << cell(0) << ")/(" << cell(1) << ')'; +} + + void MathFracInset::mathmlize(MathMLStream & os) const { os << MTag("mfrac") << cell(0) << cell(1) << ETag("mfrac"); diff --git a/src/mathed/math_fracinset.h b/src/mathed/math_fracinset.h index b86509951d..771c2e9ece 100644 --- a/src/mathed/math_fracinset.h +++ b/src/mathed/math_fracinset.h @@ -35,6 +35,8 @@ public: /// void maplize(MapleStream &) const; /// + void octavize(OctaveStream &) const; + /// void mathmlize(MathMLStream &) const; public: /// diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index f5c8a204bf..0310eeb792 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -359,7 +359,7 @@ void MathScriptInset::write2(MathInset const * nuc, WriteStream & os) const } } else if (os.firstitem()) - lyxerr << "suppressing {} \n"; + lyxerr[Debug::MATHED] << "suppressing {} when writing\n"; else os << "{}"; -- 2.39.2