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>
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user