summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-20 17:24:15 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-08-21 01:46:08 +0200
commitd269a182506cad8f11e9631229d4dc20f5e33abe (patch)
tree45ea1e9bb3b985f3bce32f1ac51dc64f2cc47fdf /pyuno
parentfa43b7742227a74c2bfb83c5147ac6eb69e7ef20 (diff)
Janitorial: remove unused variable
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 0e339f0cad8e..3670e4215248 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -150,7 +150,6 @@ static void getRuntimeImpl( PyRef & globalDict, PyRef &runtimeImpl )
static PyRef importUnoModule( ) throw ( RuntimeException )
{
- PyRef globalDict = PyRef( PyModule_GetDict(PyImport_AddModule(const_cast< char * >("__main__"))));
// import the uno module
PyRef module( PyImport_ImportModule( const_cast< char * >("uno") ), SAL_NO_ACQUIRE );
if( PyErr_Occurred() )