summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_except.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r--pyuno/source/module/pyuno_except.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx
index 63b1e68e9b54..08a0728c739d 100644
--- a/pyuno/source/module/pyuno_except.cxx
+++ b/pyuno/source/module/pyuno_except.cxx
@@ -89,7 +89,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime )
OUStringBuffer buf;
buf.appendAscii( "pyuno.getClass: uno exception " );
buf.append(name).appendAscii( " is unknown" );
- throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface > () );
+ throw RuntimeException( buf.makeStringAndClear() );
}
bool isStruct = desc.get()->eTypeClass == typelib_TypeClass_STRUCT;
@@ -102,7 +102,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime )
buf.appendAscii(
typeClassToString( (com::sun::star::uno::TypeClass) desc.get()->eTypeClass));
buf.appendAscii( ", expected EXCEPTION, STRUCT or INTERFACE" );
- throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface>() );
+ throw RuntimeException( buf.makeStringAndClear() );
}
// retrieve base class