silence coverity#1362777 Explicit null dereferenced

Change-Id: I49089cfac207f67e03c19a09a95c4c7325276b53
This commit is contained in:
Caolán McNamara 2017-11-15 09:05:18 +00:00
parent 74030e2aeb
commit c2a4b8afcf

View file

@ -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(
{