summaryrefslogtreecommitdiff
path: root/scripting/source/pyprov/pythonscript.py
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-31 15:32:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-03-31 15:32:21 +0100
commit40236c6806e557159b80538696dfe700755444cc (patch)
tree5dad4f4a21020b06225ab7710de809a8fea32793 /scripting/source/pyprov/pythonscript.py
parentec88b13394cee8cccbb51607011b95f1e21e696b (diff)
fix python scripting
Diffstat (limited to 'scripting/source/pyprov/pythonscript.py')
-rwxr-xr-xscripting/source/pyprov/pythonscript.py4
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 )