summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2021-07-13 09:19:52 +0200
committerJean-Pierre Ledure <jp@ledure.be>2021-07-13 10:08:51 +0200
commit0abc993f1b6f001f6c4d643608e03c7a5a26ee46 (patch)
tree7541ebed9c39eedf94f51cc53db56eb863707e9f /wizards
parent2012d5b90b64cb3a28862267dafb162c2f85d832 (diff)
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@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/scriptforge/SF_L10N.xba1
1 files changed, 1 insertions, 0 deletions
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