From: Georg Baum Date: Tue, 7 Nov 2006 19:29:01 +0000 (+0000) Subject: * src/mathed/InsetMathSymbol.C X-Git-Tag: 1.6.10~11997 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=aea574afa1aae31b65dc8573792c1c58b415fe06;p=features.git * 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 --- 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); }