[orca/gnome-3-22] Fix crash with Writer table



commit f2ad0f31ff6afa40e70bf9d2e2bbc51e22e1cc06
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jan 5 04:07:51 2017 -0500

    Fix crash with Writer table

 src/orca/scripts/apps/soffice/braille_generator.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/braille_generator.py 
b/src/orca/scripts/apps/soffice/braille_generator.py
index 21c662e..5cf81ab 100644
--- a/src/orca/scripts/apps/soffice/braille_generator.py
+++ b/src/orca/scripts/apps/soffice/braille_generator.py
@@ -93,8 +93,11 @@ class BrailleGenerator(braille_generator.BrailleGenerator):
             result = super()._generateRealTableCell(obj, **args)
         else:
             result = []
+            formatType = args.get('formatType')
+            args['formatType'] = 'focused'
             for child in obj:
-                result.extend(self.generate(child))
+                result.extend(self.generate(child, **args))
+            args['formatType'] = formatType
 
         if not self._script.utilities.isSpreadSheetCell(obj):
             return result


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