| commit | af6a33f495a6c0ad1981a250dde355044e8519cb | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Mar 22 10:15:38 2021 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Mar 22 13:33:08 2021 +0100 |
| tree | 544cdbd4ef9d4e21fd8b9c84be9a17d00de511d5 | |
| parent | 962a9ce0a1ebe63f341fa27af8203991c44dd56f [diff] |
cid#1473974 silence Explicit null dereferenced Change-Id: Id9e381c3919dac989a5957beddd0c070d38ad47d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112870 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index e8fe658..2f87b4f4 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx
@@ -495,6 +495,7 @@ Any SAL_CALL TypeConverter_Impl::convertTo( const Any& rVal, const Type& aDestTy { // void -> interface (null) void * null_ref = nullptr; // coverity[var_deref_model : FALSE] - null_ref will not be derefed in this case aRet.setValue( &null_ref, aDestType ); break; }