]> git.lyx.org Git - lyx.git/blobdiff - src/Row.cpp
es.po: fix a typo introduced by last commit
[lyx.git] / src / Row.cpp
index 2bfe55a1b80d46d00b1aad0fbd6253d9910a4e74..6e51fb192b49e64e6673b8198c31e1e4dc70f2e6 100644 (file)
@@ -129,17 +129,6 @@ bool Row::Element::breakAt(int w, bool force)
                return true;
        }
 
-       // Qt will not break at a leading space, and we need that sometimes, see
-       //   http://www.lyx.org/trac/ticket/9921.
-       // It would be nice to fix this properly, but for now do it by hand.
-       // FIXME: figure out what to do for RtL text.
-       if (!isRTL() && !str.empty() && str[0] == ' ') {
-               dim.wid = 0;
-               str = ' ';
-               endpos = pos + 1;
-               return true;
-       }
-
        return false;
 }