summaryrefslogtreecommitdiffstats
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index 5098c803b5f8..ee66c7537d8d 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -1713,7 +1713,7 @@ PyRef PyUNO_new (
{
sal_Int64 that = xUnoTunnel->getSomething( ::pyuno::Adapter::getUnoTunnelImplementationId() );
if( that )
- return PyRef( reinterpret_cast<Adapter*>(that)->getWrappedObject() );
+ return reinterpret_cast<Adapter*>(that)->getWrappedObject();
}
}
if( !Py_IsInitialized() )