[Libreoffice-commits] core.git: wizards/source
Jean-Pierre Ledure (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 24 13:54:05 UTC 2021
wizards/source/scriptforge/python/scriptforge.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 024a11fee38492b8e76917ad5e9f5b0b26f46313
Author: Jean-Pierre Ledure <jp at ledure.be>
AuthorDate: Mon May 24 12:57:21 2021 +0200
Commit: Jean-Pierre Ledure <jp at ledure.be>
CommitDate: Mon May 24 15:53:25 2021 +0200
ScriptForge - (scriptforge.py.SF_Basic): methods in alphabatical order
GetSystemTicks() and GetPathSeparator() are inverted
Change-Id: I7e5c14041d6c70fe0a47519c93a24360ccc2d162
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116048
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/scriptforge.py b/wizards/source/scriptforge/python/scriptforge.py
index 39eb548032cf..c545fc5491c2 100644
--- a/wizards/source/scriptforge/python/scriptforge.py
+++ b/wizards/source/scriptforge/python/scriptforge.py
@@ -738,14 +738,14 @@ class SFScriptForge:
def GetGuiType(cls):
return cls.SIMPLEEXEC(cls.module + '.PyGetGuiType')
- @classmethod
- def GetSystemTicks(cls):
- return cls.SIMPLEEXEC(cls.module + '.PyGetSystemTicks')
-
@classmethod
def GetPathSeparator(cls):
return os.sep
+ @classmethod
+ def GetSystemTicks(cls):
+ return cls.SIMPLEEXEC(cls.module + '.PyGetSystemTicks')
+
class GlobalScope(object, metaclass = _Singleton):
@classmethod # Mandatory because the GlobalScope class is normally not instantiated
def BasicLibraries(cls):
More information about the Libreoffice-commits
mailing list