| commit | 1bce5209a93b4313e7b39932eabe5f84c39ee0ea | [log] |
|---|---|---|
| author | Jean-Pierre Ledure <jp@ledure.be> | Thu Oct 13 18:24:44 2022 +0200 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Mon Oct 17 11:11:55 2022 +0200 |
| tree | cbe845f1b1dcab9111b0e7c0fa1e5aa01715b147 | |
| parent | b37764993f7e524dbe2cf79ca921d0b01e6fba97 [diff] |
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 Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141359
diff --git a/wizards/source/sfdialogs/SF_Register.xba b/wizards/source/sfdialogs/SF_Register.xba index 11ee154..e81dbb0 100644 --- a/wizards/source/sfdialogs/SF_Register.xba +++ b/wizards/source/sfdialogs/SF_Register.xba
@@ -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