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

Jean-Pierre Ledure (via logerrit) logerrit at kemper.freedesktop.org
Sat Jan 16 13:36:23 UTC 2021


 wizards/source/scriptforge/python/ScriptForgeHelper.py |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 19e5606df73994bbf6ddd8089843be645bd4d8be
Author:     Jean-Pierre Ledure <jp at ledure.be>
AuthorDate: Sat Jan 16 13:11:22 2021 +0100
Commit:     Jean-Pierre Ledure <jp at ledure.be>
CommitDate: Sat Jan 16 14:35:47 2021 +0100

    ScriptForge - (ScriptForgeHelper.py) add empty list of visible routines
    
    The g_exportedScripts  variable contains the list of the methods
    in the script that may be made visible in LO IDE's
    (APSO and alike)
    
    Currently that list (in fact, a tuple) must be empty
    
    Change-Id: I86abc0bb55be524a3f9d39da7c6bd248abec8668
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109435
    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/python/ScriptForgeHelper.py b/wizards/source/scriptforge/python/ScriptForgeHelper.py
index f18433938b73..ca520434a2a9 100644
--- a/wizards/source/scriptforge/python/ScriptForgeHelper.py
+++ b/wizards/source/scriptforge/python/ScriptForgeHelper.py
@@ -261,6 +261,12 @@ def _SF_String__HashStr(string: str, algorithm: str) -> str:  # used by SF_Strin
         return ''
 
 
+# #################################################################
+# lists the scripts, that shall be visible inside the Basic/Python IDE
+# #################################################################
+
+g_exportedScripts = ()
+
 if __name__ == "__main__":
     print(_SF_Platform('Architecture'))
     print(_SF_Platform('ComputerName'))


More information about the Libreoffice-commits mailing list