diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2022-04-25 16:30:16 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2022-04-26 10:28:04 +0200 |
commit | baa1583a7b9b8a4ea5859e4fc320e570f2d10741 (patch) | |
tree | a86f0849ee3da21f9b2964365682fae7a559bc39 | |
parent | 37613bffe4621c444e5a34678bafb2c3a875263d (diff) |
Access2Base - (access2base.py) FIX remove duplicate
In class _Module, the ProcStartLine item is defined
both as a property (by its presence in classProperties)
and as method
def ProcSTartLine (...):
This is of course irrelevant.
The property must be removed and the method kept as is.
Bug signalled by Paul M on Telegram.
Change-Id: I33bec829244543dbbd88b53e35cdff6c5468692f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133388
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
-rw-r--r-- | wizards/source/access2base/access2base.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wizards/source/access2base/access2base.py b/wizards/source/access2base/access2base.py index ce88057247e1..ff0a9fbaa9cc 100644 --- a/wizards/source/access2base/access2base.py +++ b/wizards/source/access2base/access2base.py @@ -1323,9 +1323,8 @@ class _Form(_BasicObject): class _Module(_BasicObject): - classProperties = dict(CountOfDeclarationLines = False, CountOfLines = False - , ProcStartLine = False, Type = False - ) + classProperties = dict(CountOfDeclarationLines = False, CountOfLines = False, Type = False) + def __init__(self, reference = -1, objtype = None, name = ''): super().__init__(reference, objtype, name) self.localProperties = ('startline', 'startcolumn', 'endline', 'endcolumn', 'prockind') |