]> git.lyx.org Git - features.git/commitdiff
* src/mathed/InsetMathSymbol.C
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 7 Nov 2006 19:29:01 +0000 (19:29 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 7 Nov 2006 19:29:01 +0000 (19:29 +0000)
(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

index 1733b4587959dacc1984c321640106d11bd3d9f0..02ee2d0ae7701c974bdf9ff884d8337cdae1d12b 100644 (file)
@@ -111,9 +111,7 @@ void InsetMathSymbol::draw(PainterInfo & pi, int x, int y) const
                x += static_cast<int>(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);
 }