diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 17:08:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 20:10:18 +0100 |
commit | 2ca70c3b5c1959c4aa052dbfae1db25a379b0579 (patch) | |
tree | 9bec247921d53bb0ef68032ea46d47bf0fcd326a /pyuno | |
parent | b75b626ee52b7dec91f48271aa58d66b27604e51 (diff) |
coverity#982755 Dereference null return value
Change-Id: I652b308d087c1ee9fff95f81297b079e3f816e07
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index a4b81fca248c..cb2ba906aa53 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -156,7 +156,7 @@ static void getRuntimeImpl( PyRef & globalDict, PyRef &runtimeImpl ) static PyRef importUnoModule( ) throw ( RuntimeException ) { // import the uno module - PyRef module( PyImport_ImportModule( "uno" ), SAL_NO_ACQUIRE ); + PyRef module( PyImport_ImportModule( "uno" ), SAL_NO_ACQUIRE, NOT_NULL ); if( PyErr_Occurred() ) { PyRef excType, excValue, excTraceback; |