To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66765
Issue #|66765
Summary|UNO type hyper not handled correctly in Basic
Component|framework
Version|680m167
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|ab
Reported by|ab
------- Additional comments from [EMAIL PROTECTED] Tue Jun 27 00:58:43 -0700
2006 -------
Sample code by Paolo Mantovani on OOo api dev mailing list:
Sub TestUCB
oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess")
oFile = oUcb.OpenFileReadWrite("file:///home/paolo/img.png")
oInputStream = createUnoService("com.sun.star.io.DataInputStream")
oInputStream.setInputStream(oFile.getInputStream())
' oFile.seek(5) 'error!!!
oFile.seek(CreateUnoValue("hyper", 5)) 'No problem......
oInputStream.closeInput
End Sub
Uncommenting ' oFile.seek(5) leads to a runtime error.
Reason: The types SbxSALINT64 and SbxSALUINT64 are missing
in SbxValue::Get() and SbxValue::Put() in basic/source/sbx/sbxvalue.cxx
So the conversion from / to variant does not work correctly.
---------------------------------------------------------------------
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]