[orca] Remove old and broken hack for a Gecko bug which was fixed long ago



commit fe242d37daf5f7ed771b7b865eaf0b4e260aaf0e
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Jun 4 18:17:43 2016 -0400

    Remove old and broken hack for a Gecko bug which was fixed long ago

 src/orca/flat_review.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/orca/flat_review.py b/src/orca/flat_review.py
index 24a2abb..b3bc342 100644
--- a/src/orca/flat_review.py
+++ b/src/orca/flat_review.py
@@ -135,11 +135,6 @@ class Word:
                     [char, startOffset, endOffset] = text.getTextAtOffset(
                         self.startOffset + i,
                         pyatspi.TEXT_BOUNDARY_CHAR)
-                    # Sometimes we get more than a character's worth. See
-                    # Bug #495303. We can try to correct this.
-                    #
-                    if len(char):
-                        char[0]
                     [x, y, width, height] = text.getRangeExtents(
                         startOffset,
                         startOffset + 1,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]