wizards/source/scriptforge/SF_L10N.xba |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0abc993f1b6f001f6c4d643608e03c7a5a26ee46
Author:     Jean-Pierre Ledure <j...@ledure.be>
AuthorDate: Tue Jul 13 09:19:52 2021 +0200
Commit:     Jean-Pierre Ledure <j...@ledure.be>
CommitDate: Tue Jul 13 10:08:51 2021 +0200

    ScriptForge - (SF_L10N) FIX return value of AddText()
    
    Return value should be True when successful.
    Was erroneously False.
    
    Minor bug. No correction in 7.1 and 7.2
    
    Change-Id: I71040f2ba8fec80297428b0ca317e9d67c79a25e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118815
    Tested-by: Jean-Pierre Ledure <j...@ledure.be>
    Tested-by: Jenkins
    Reviewed-by: Jean-Pierre Ledure <j...@ledure.be>

diff --git a/wizards/source/scriptforge/SF_L10N.xba 
b/wizards/source/scriptforge/SF_L10N.xba
index 28da6c4c34d6..020dca541831 100644
--- a/wizards/source/scriptforge/SF_L10N.xba
+++ b/wizards/source/scriptforge/SF_L10N.xba
@@ -215,6 +215,7 @@ Try:
                .MsgStr = MsgStr
        End With
        _Dictionary.Add(sKey, vItem)
+       bAdd = True
 
 Finally:
        AddText = bAdd
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to