[Libreoffice-commits] core.git: wizards/source

Jean-Pierre Ledure (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 13 08:09:23 UTC 2021


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

New commits:
commit 0abc993f1b6f001f6c4d643608e03c7a5a26ee46
Author:     Jean-Pierre Ledure <jp at ledure.be>
AuthorDate: Tue Jul 13 09:19:52 2021 +0200
Commit:     Jean-Pierre Ledure <jp at 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 <jp at ledure.be>
    Tested-by: Jenkins
    Reviewed-by: Jean-Pierre Ledure <jp at 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


More information about the Libreoffice-commits mailing list