]> git.lyx.org Git - features.git/commitdiff
* once is enough
authorStefan Schimanski <sts@lyx.org>
Fri, 22 Feb 2008 14:05:06 +0000 (14:05 +0000)
committerStefan Schimanski <sts@lyx.org>
Fri, 22 Feb 2008 14:05:06 +0000 (14:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23129 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPainter.cpp

index 3f7635415cc6ec4fb59a85313b054b691c45779f..c0a48411be5554e95eda1053d3ab43e7237fb6d8 100644 (file)
@@ -364,8 +364,6 @@ int GuiPainter::text(int x, int y, docstring const & s,
                        setFont(fi.font);
                // We need to draw the text as LTR as we use our own bidi code.
                setLayoutDirection(Qt::LeftToRight);
-               // We need to draw the text as LTR as we use our own bidi code.
-               setLayoutDirection(Qt::LeftToRight);
                drawText(x, y, str);
                //LYXERR(Debug::PAINTING, "draw " << string(str.toUtf8())
                //      << " at " << x << "," << y);