https://bugs.documentfoundation.org/show_bug.cgi?id=149447

--- Comment #6 from Mike Kaganski <[email protected]> ---
(In reply to Mike Kaganski from comment #5)
> Which means that commit 11f9aa4fcb2ad0a5fada8561c7041e7f25a059fc broke all
> the 128..255 unsigned short/long values passed from Basic to UNO to become
> 1. Fun. (But I wonder how can we create such types in Basic - which could be
> the reason why it goes unnoticed for so long...)

FTR: e.g., using this code:


sub uints
  fa = CreateUnoService("com.sun.star.sheet.FunctionAccess")
  dim r as new com.sun.star.util.DateTimeRange
'  r.StartNanoSeconds = 200
  r.StartSeconds = 200
'  u32 = r.StartNanoSeconds
  u16 = r.StartSeconds
  msgbox TypeName(u16) & " " & u16 & " " & fa.callFunction("DEC2HEX",
Array(u16, 4))
end sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to