From 254dba67e70531324daf603a967ec92ba093ab9e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 18 Jan 2011 12:11:52 +0000 Subject: don't pushback and process a corrupt extension Signed-off-by: David Tardon --- desktop/source/deployment/registry/package/dp_package.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/source') diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 718cdbc06a03..9b039248da8f 100755 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1620,7 +1620,8 @@ BackendImpl::PackageImpl::getPackagesFromDb( Reference xExtension = bindBundleItem(i->first, i->second, true, m_identifier, xCmdEnv); OSL_ASSERT(xExtension.is()); - retVector.push_back(xExtension); + if (xExtension.is()) + retVector.push_back(xExtension); } return retVector; -- cgit