summaryrefslogtreecommitdiff
path: root/testautomation/writer/tools
diff options
context:
space:
mode:
authorThorsten Bosbach <tbo@OpenOffice.org>2010-05-27 19:11:42 +0200
committerThorsten Bosbach <tbo@OpenOffice.org>2010-05-27 19:11:42 +0200
commit39e61a783672e41ac76ba6141978c6ba98248add (patch)
tree1806f8fe4d0aad60e31cd2c2a31fabc14c956fc6 /testautomation/writer/tools
parentda1dd3a4f1f4fff933b47179cbe615958a0cdb07 (diff)
#i111883 crash on .uncheck
Diffstat (limited to 'testautomation/writer/tools')
-rwxr-xr-x[-rw-r--r--]testautomation/writer/tools/includes/w_tools.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/testautomation/writer/tools/includes/w_tools.inc b/testautomation/writer/tools/includes/w_tools.inc
index 8fa05c23bbc9..122a44f7da53 100644..100755
--- a/testautomation/writer/tools/includes/w_tools.inc
+++ b/testautomation/writer/tools/includes/w_tools.inc
@@ -1052,7 +1052,10 @@ sub wOptionsUndo ( sOption$ )
Call hToolsOptions("WRITER","Autocaption")
for i = 1 to ObjectList.GetItemCount
ObjectList.Select i
- ObjectList.UnCheck
+ ' uncheck only if checked, else it might crash on macosx, see issue 111883 for further information
+ if ObjectList.getState (i) > 1 then
+ ObjectList.UnCheck
+ endif
next i
end if