[orca] Remove unused method



commit a90cdd7d98e8de974a0fb3556391444c56f687c3
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Nov 25 11:09:41 2019 -0500

    Remove unused method

 src/orca/label_inference.py | 13 -------------
 1 file changed, 13 deletions(-)
---
diff --git a/src/orca/label_inference.py b/src/orca/label_inference.py
index 2f7a93c3c..e188bb444 100644
--- a/src/orca/label_inference.py
+++ b/src/orca/label_inference.py
@@ -288,19 +288,6 @@ class LabelInference:
 
         return rv
 
-    def _getPreviousObject(self, obj):
-        """Gets the object prior to obj."""
-
-        index = obj.getIndexInParent()
-        if not index > 0:
-            return obj.parent
-
-        prevObj = obj.parent[index-1]
-        if prevObj and prevObj.childCount:
-            prevObj = prevObj[prevObj.childCount - 1]
-
-        return prevObj
-
     def inferFromTextLeft(self, obj, proximity=75):
         """Attempt to infer the functional/displayed label of obj by
         looking at the contents of the current line, which are to the


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