To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106744 Issue #|106744 Summary|vba: regression with isempty test Component|framework Version|DEV300m58 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|ab Reported by|npower
------- Additional comments from [email protected] Mon Nov 9 18:46:41 +0000 2009 ------- sub main msgbox test1 end sub Function test1() As String In VBA mode the following will fail Dim foo As String foo = "astring" On Error Resume Next test1 = "GOT ERROR" If IsEmpty(foo) Then test1 = "EMPTY" Else test1 = "NOT EMPTY" End If End Function basically this is down to the fact that if you call GetObject ( when in fact the object is not an Object type an error will be generated ) following patch will fix. ( I was thinking if possible putting this into ab71 would be an idea ) - --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
