wizards/source/scriptforge/SF_UI.xba |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 59f8fd6a5cc2534c84c56265821b51a832652cdf
Author:     Jean-Pierre Ledure <j...@ledure.be>
AuthorDate: Sat Apr 26 16:25:40 2025 +0200
Commit:     Jean-Pierre Ledure <j...@ledure.be>
CommitDate: Sat Apr 26 18:09:15 2025 +0200

    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 <j...@ledure.be>
    Tested-by: Jenkins

diff --git a/wizards/source/scriptforge/SF_UI.xba 
b/wizards/source/scriptforge/SF_UI.xba
index 442b182915f0..b560c26b9067 100644
--- a/wizards/source/scriptforge/SF_UI.xba
+++ b/wizards/source/scriptforge/SF_UI.xba
@@ -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

Reply via email to