From aea574afa1aae31b65dc8573792c1c58b415fe06 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 7 Nov 2006 19:29:01 +0000 Subject: [PATCH] * src/mathed/InsetMathSymbol.C (InsetMathSymbol::draw): Remove obsolete FIXME (InsetMathSymbol::draw): Microoptimization: Do not copy the string git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15789 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathSymbol.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mathed/InsetMathSymbol.C b/src/mathed/InsetMathSymbol.C index 1733b45879..02ee2d0ae7 100644 --- a/src/mathed/InsetMathSymbol.C +++ b/src/mathed/InsetMathSymbol.C @@ -111,9 +111,7 @@ void InsetMathSymbol::draw(PainterInfo & pi, int x, int y) const x += static_cast(0.0833*em+0.5); FontSetChanger dummy(pi.base, sym_->inset.c_str()); - // FIXME UNICODE - docstring n(sym_->draw.begin(), sym_->draw.end()); - pi.draw(x, y - h_, n); + pi.draw(x, y - h_, sym_->draw); } -- 2.39.2