diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-03 09:34:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-04 08:55:11 +0200 |
commit | 982820640865addb921e32b26d9aae3c3b3a10d7 (patch) | |
tree | 90defd570a1371b35af5fdbcd1d6b3767e32d79e /pyuno/source | |
parent | 70c8b4567fc6a5ccb8fb5a6bdcbc26f267f5af4d (diff) |
Demystify magic ponies
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno_module.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index eeb039aac843..23800ee0c3be 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -319,7 +319,7 @@ static PyObject* getComponentContext( return ret.getAcquired(); } -static PyObject* initPoniesMode( +static PyObject* initTestEnvironment( SAL_UNUSED_PARAMETER PyObject*, SAL_UNUSED_PARAMETER PyObject*) { // this tries to bootstrap enough of the soffice from python to run @@ -841,7 +841,7 @@ static PyObject *setCurrentContext( struct PyMethodDef PyUNOModule_methods [] = { - {"experimentalExtraMagic", initPoniesMode, METH_VARARGS, NULL}, + {"private_initTestEnvironment", initTestEnvironment, METH_VARARGS, NULL}, {"getComponentContext", getComponentContext, METH_VARARGS, NULL}, {"_createUnoStructHelper", reinterpret_cast<PyCFunction>(createUnoStructHelper), METH_VARARGS | METH_KEYWORDS, NULL}, {"getTypeByName", getTypeByName, METH_VARARGS, NULL}, |