From c2a4b8afcf3ac67ebc54ea8dbaeffb09cb81f431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 15 Nov 2017 09:05:18 +0000 Subject: [PATCH] silence coverity#1362777 Explicit null dereferenced Change-Id: I49089cfac207f67e03c19a09a95c4c7325276b53 --- extensions/source/abpilot/datasourcehandling.cxx | 1 + 1 file changed, 1 insertion(+) 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 xStorage = pObjectShell->GetStorage(); uno::Sequence aSequence = comphelper::InitPropertySequence( {