diff options
author | Helge Delfs [hde] <hde@openoffice.org> | 2010-10-20 15:20:35 +0200 |
---|---|---|
committer | Helge Delfs [hde] <hde@openoffice.org> | 2010-10-20 15:20:35 +0200 |
commit | 510eae0d86ee6c9e2eaf0cada6077fc7448b28d4 (patch) | |
tree | d9d6c2635c68c252d36bee953853474e98352d7c /testautomation/writer/optional | |
parent | 002e17c4e9d29200495ef34ab19987a50f2875f0 (diff) | |
parent | 5f8ee7476776f388cfa80edf91f7fbdc7d8e3a1b (diff) |
automationdev300m87#i115106#function never returned a bool...fixed now
Diffstat (limited to 'testautomation/writer/optional')
-rwxr-xr-x | testautomation/writer/optional/includes/tools/tools1.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testautomation/writer/optional/includes/tools/tools1.inc b/testautomation/writer/optional/includes/tools/tools1.inc index f5d8362b2..a2a1e04dc 100755 --- a/testautomation/writer/optional/includes/tools/tools1.inc +++ b/testautomation/writer/optional/includes/tools/tools1.inc @@ -66,8 +66,8 @@ end function function fFormatGraphic(Options as string) as boolean Dim j as integer, sSlotOK as boolean + fFormatGraphic = true if ( hUseAsyncSlot( "FormatGraphics" ) <> -1 ) then - Kontext if ( Active.exists( 2 ) ) then Select case Options @@ -99,9 +99,11 @@ function fFormatGraphic(Options as string) as boolean end select else warnlog( "Failed to access <Format Graphics> Tabpage" ) + fFormatGraphic = false endif else warnlog( "Failed to execute <FormatGraphics>" ) + fFormatGraphic = false endif Kontext Options |