[Libreoffice-commits] .: Branch 'libreoffice-3-3' - desktop/source
David Tardon
dtardon at kemper.freedesktop.org
Thu Feb 3 08:46:28 PST 2011
desktop/source/deployment/registry/package/dp_package.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a0f63a4c3a5430b6b81318f2dc380ca8975d4d65
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jan 18 12:11:52 2011 +0000
don't pushback and process a corrupt extension
Signed-off-by: David Tardon <dtardon at redhat.com>
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx
index 603f524..b084d87 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<deployment::XPackage> 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;
More information about the Libreoffice-commits
mailing list