Kaydet (Commit) a2ae1723 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane Kaydeden (comit) Michael Stahl

fix regression introduced by 21834f14

Change-Id: I75b6329e2d308bd0d24201169dcef72301358d81
Reviewed-on: https://gerrit.libreoffice.org/17305Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 57ec66e2
...@@ -1473,7 +1473,7 @@ void BackendImpl::PackageImpl::scanBundle( ...@@ -1473,7 +1473,7 @@ void BackendImpl::PackageImpl::scanBundle(
if (! INetContentTypes::parse( mediaType, type, subType, &params )) if (! INetContentTypes::parse( mediaType, type, subType, &params ))
continue; continue;
auto const iter = params.find("platform"); auto iter = params.find("platform");
if (iter != params.end() && !platform_fits(iter->second.m_sValue)) if (iter != params.end() && !platform_fits(iter->second.m_sValue))
continue; continue;
const OUString url( makeURL( packageRootURL, fullPath ) ); const OUString url( makeURL( packageRootURL, fullPath ) );
...@@ -1483,8 +1483,8 @@ void BackendImpl::PackageImpl::scanBundle( ...@@ -1483,8 +1483,8 @@ void BackendImpl::PackageImpl::scanBundle(
subType.equalsIgnoreAsciiCase( "vnd.sun.star.package-bundle-description")) subType.equalsIgnoreAsciiCase( "vnd.sun.star.package-bundle-description"))
{ {
// check locale: // check locale:
auto const iterLocale = params.find("locale"); iter = params.find("locale");
if (iterLocale == params.end()) if (iter == params.end())
{ {
if (descrFile.isEmpty()) if (descrFile.isEmpty())
descrFile = url; descrFile = url;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment