ScriptForge - (Dialogs) tdf#151510 fix CreateScriptService("dialog")
Bug description: Programmatic access to doc-based dialog is not possible using ScriptForge.Dialog service The relevant component was identified incorrectly in routine SFDialogs.SF_Register_NewDialog() Change-Id: I13f6302330ca097b8aef8fd3cdbd0b3d05a1b58c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141337 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
This commit is contained in:
parent
a42b495393
commit
06933af12a
1 changed files with 2 additions and 1 deletions
|
@ -291,7 +291,8 @@ Try:
|
|||
Loop
|
||||
Else
|
||||
bFound = True
|
||||
vWindow = oUi._IdentifyWindow(StarDesktop.CurrentComponent)
|
||||
Set oComp = StarDesktop.CurrentComponent
|
||||
vWindow = oUi._IdentifyWindow(oComp)
|
||||
End If
|
||||
Case V_OBJECT ' com.sun.star.lang.XComponent
|
||||
bFound = True
|
||||
|
|
Loading…
Reference in a new issue