extensions/source/abpilot/datasourcehandling.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit c2a4b8afcf3ac67ebc54ea8dbaeffb09cb81f431 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Nov 15 09:05:18 2017 +0000 silence coverity#1362777 Explicit null dereferenced Change-Id: I49089cfac207f67e03c19a09a95c4c7325276b53 diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index cf95ac048086..75f2685ea13b 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -371,6 +371,7 @@ namespace abp xUri = css::uri::VndSunStarPkgUrlReferenceFactory::create(xContext)->createVndSunStarPkgUrlReference(xUri); assert(xUri.is()); OUString const sTmpName = xUri->getUriReference() + "/" + aStreamRelPath; + assert(pObjectShell); uno::Reference<embed::XStorage> xStorage = pObjectShell->GetStorage(); uno::Sequence<beans::PropertyValue> aSequence = comphelper::InitPropertySequence( {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits