summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 15:30:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:56 +0100
commitd89928441ddb6ee5a32d1ee083adc81f19a84f46 (patch)
treeb8a76fa7c5192a4ec18d0cdc371cc618228a1323 /pyuno
parentbf8441444cb00fe89acbd2c1d6f5abcc0d4e1247 (diff)
pyuno: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ia99dca3619fb893d1b9f3a46f1f1285e3fe1bc8e
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/unohelper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/unohelper.py b/pyuno/source/module/unohelper.py
index 2e200cca5645..a55aaa8483fa 100644
--- a/pyuno/source/module/unohelper.py
+++ b/pyuno/source/module/unohelper.py
@@ -243,15 +243,15 @@ def _unohelper_getHandle( self):
t = uno.getTypeByName( x )
types.append( t )
- ret = tuple(types) , uno.generateUuid()
+ ret = tuple(types)
_g_typeTable[self.__class__] = ret
return ret
class Base(XTypeProvider):
def getTypes( self ):
- return _unohelper_getHandle( self )[0]
+ return _unohelper_getHandle( self )
def getImplementationId(self):
- return _unohelper_getHandle( self )[1]
+ return ()
class CurrentContext(XCurrentContext, Base ):
"""a current context implementation, which first does a lookup in the given