ScriptForge (UI) review progress bar termination

Idem https://gerrit.libreoffice.org/c/core/+/184662
for the progress bar.

Change-Id: Ife48d115d3e8acb81fe167a27542783f4ca25d25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184665
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
This commit is contained in:
Jean-Pierre Ledure 2025-04-26 16:25:40 +02:00
parent e803595fc4
commit 59f8fd6a5c

View File

@ -1165,7 +1165,8 @@ Try:
With oDialog
If Not IsNull(oDialog) Then
If Len(Title) = 0 And Len(Text) = 0 And Percentage = -1 Then
Set oDialog = .Dispose()
.Terminate()
Set oDialog = Nothing
Else
.Caption = Iif(Len(Title) &gt; 0, Title, &quot;ScriptForge&quot;)
If bFirstCall Then