[script-issues] [Issue 109070] optional param declareda as object: invalid use of an object

2011-01-12 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109070


User ab changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |WORKSFORME





--- Additional comments from a...@openoffice.org Wed Jan 12 14:03:23 + 
2011 ---
Obviously fixed in the mean time in the scope of
another issue as it works in OOO330 m15.

- WORKSFORME


-
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: issues-unsubscr...@script.openoffice.org
For additional commands, e-mail: issues-h...@script.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[script-issues] [Issue 109070] optional param declareda as object: invalid use of an object

2011-01-12 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109070


User ab changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from a...@openoffice.org Wed Jan 12 14:13:30 + 
2011 ---
CLOSED


-
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: issues-unsubscr...@script.openoffice.org
For additional commands, e-mail: issues-h...@script.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[script-issues] [Issue 109070] optional param declareda as object: invalid use of an object

2010-05-28 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109070


User ab changed the following:

What|Old value |New value

  Status|NEW   |STARTED

Target milestone|---   |OOo 3.x





--- Additional comments from a...@openoffice.org Fri May 28 13:04:01 + 
2010 ---
I tried, but I didn't find anything about this
that could be declared as feature... ;-)

STARTED, 3.x


-
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: issues-unsubscr...@script.openoffice.org
For additional commands, e-mail: issues-h...@script.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[script-issues] [Issue 109070] optional param declareda as object: invalid use of an object

2010-05-04 Thread kr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109070


User kr changed the following:

What|Old value |New value

 Assigned to|kr|ab





--- Additional comments from k...@openoffice.org Tue May  4 06:19:38 + 
2010 ---
Andreas, please have a look.

-
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: issues-unsubscr...@script.openoffice.org
For additional commands, e-mail: issues-h...@script.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[script-issues] [Issue 109070] optional param declareda as object: invalid use of an object

2010-02-09 Thread brinzing
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109070
 Issue #|109070
 Summary|optional param declareda as object: invalid use of an 
|object
   Component|scripting
 Version|OOo 3.2 RC5
Platform|Unknown
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|kr
 Reported by|brinzing





--- Additional comments from brinz...@openoffice.org Tue Feb  9 10:24:00 
+ 2010 ---
declaring an optional param as object will cause an error:
invalid use of an object - seems the param is not  declared ...

is it a bug or a feature ?

OPTION EXPLICIT

Sub TestCase()

' ok ...
MsgBox 1   TestParam1(ThisComponent).getName()
MsgBox 2   TestParam2(ThisComponent).getName()
MsgBox 3   TestParam3(ThisComponent).getName()

' will fail ...
MsgBox 4   TestParam4(ThisComponent).getName()

End Sub

Function TestParam1(oDoc as Object, Optional oOptional) as Object
If IsMissing(oOptional) then
oOptional = oDoc.getSheets().GetByIndex(0)
End If
TestParam1 = oOptional
End Function

Function TestParam2(oDoc as Object, Optional oOptional as Variant) as Object
If IsMissing(oOptional) then
oOptional = oDoc.getSheets().GetByIndex(0)
End If
TestParam2 = oOptional
End Function

Function TestParam3(oDoc as Object, Optional oOptional as Object) as Object
If IsMissing(oOptional) then
Dim oOptional
oOptional = oDoc.getSheets().GetByIndex(0)
End If
TestParam3 = oOptional
End Function

Function TestParam4(oDoc as Object, Optional oOptional as Object) as Object
If IsMissing(oOptional) then
oOptional = oDoc.getSheets().GetByIndex(0)
End If
TestParam4 = oOptional
End Function

-
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: issues-unsubscr...@script.openoffice.org
For additional commands, e-mail: issues-h...@script.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org