office-gobmx/wizards/source
Jean-Pierre Ledure 6814e4375c ScriptForge - tdf#150203 Use RANDBETWEEN.NV i.o. RANDBETWEEN
Extract of the bug report (Rafael Lima)

This bug affects a method from the ScriptForge library,
more specifically the GetTempName method from
the FileSystem service, which relies on calling RANDBETWEEN.
Because of this bug, GetTempName only works in English,
but fails in other languages. Below is a sample code
for testing the GetTempName error.

Sub TestTempName
  GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")
  fs = CreateScriptService("FileSystem")
  MsgBox fs.GetTempName()
End sub

Interestingly changing RANDBETWEEN for RANDBETWEEN.NV
in the macro above will work.

Occurrences of the use of RANDBETWEEN:
   wizards/source/scriptforge/SF_FileSystem.xba
   wizards/source/sfdocuments/SF_Calc.xba

Change-Id: Iea38f11acb7113aa5eaab1feff7a0e64a739aada
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137691
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2022-08-02 15:55:48 +02:00
..
access2base
config
configshare
depot
euro Related: tdf#150011 Add HRK Croatian Kuna to Euro conversion wizard 2022-07-23 02:18:41 +02:00
formwizard
gimmicks
imagelists
importwizard
resources Related: tdf#150011 Add HRK Croatian Kuna to Euro conversion wizard 2022-07-23 02:18:41 +02:00
scriptforge ScriptForge - tdf#150203 Use RANDBETWEEN.NV i.o. RANDBETWEEN 2022-08-02 15:55:48 +02:00
sfdatabases
sfdialogs ScriptForge - (SF_Dialog) trap errors caused by dialog events 2022-07-19 11:24:03 +02:00
sfdocuments ScriptForge - tdf#150203 Use RANDBETWEEN.NV i.o. RANDBETWEEN 2022-08-02 15:55:48 +02:00
sfunittests
sfwidgets
standard
template
tools
tutorials