diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-31 15:32:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-31 15:32:21 +0100 |
commit | 40236c6806e557159b80538696dfe700755444cc (patch) | |
tree | 5dad4f4a21020b06225ab7710de809a8fea32793 /scripting | |
parent | do not deliver these component files, too (diff) | |
download | core-40236c6806e557159b80538696dfe700755444cc.tar.gz core-40236c6806e557159b80538696dfe700755444cc.zip |
fix python scripting
Diffstat (limited to 'scripting')
-rwxr-xr-x | scripting/source/pyprov/pythonscript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py index 3eed63c5d937..4ebd196a17cb 100755 --- a/scripting/source/pyprov/pythonscript.py +++ b/scripting/source/pyprov/pythonscript.py @@ -453,7 +453,7 @@ class ScriptBrowseNode( unohelper.Base, XBrowseNode , XPropertySet, XInvocation, def getIntrospection( self ): return None - def invoke( self, name ): + def invoke( self, name, params, outparamindex, outparams ): if name == "Editable": servicename = "com.sun.star.awt.DialogProvider" ctx = self.provCtx.scriptContext.getComponentContext() @@ -786,7 +786,7 @@ class PythonScript( unohelper.Base, XScript ): def __init__( self, func, mod ): self.func = func self.mod = mod - def invoke(self, args ): + def invoke(self, args, out, outindex ): log.isDebugLevel() and log.debug( "PythonScript.invoke " + str( args ) ) try: ret = self.func( *args ) |