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:
Jean-Pierre Ledure
2022-04-26 10:28:04 +02:00
parent 37613bffe4
commit baa1583a7b
+2 -3
View File
@@ -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')