Hi Lionel,

On Wednesday, 2015-07-22 18:50:35 +0200, Lionel Elie Mamane wrote:

> @@ -1483,14 +1483,15 @@ void BackendImpl::PackageImpl::scanBundle(
>              subType.equalsIgnoreAsciiCase(
>            "vnd.sun.star.package-bundle-description"))
>          {
>              // check locale:
> -            param = params.find("locale");
> -            if (param == 0) {
> +            auto const iterLocale = params.find("locale");
> +            if (iterLocale == params.end())
> +            {
>                  if (descrFile.isEmpty())
>                      descrFile = url;
>              }
>              else {
>                  // match best locale:
> -                LanguageTag descrTag( param->m_sValue);
> +                LanguageTag descrTag(iter->second.m_sValue);

From a quick glance this looks as if instead it should be

                   LanguageTag descrTag(iterLocale->second.m_sValue);

Could you give that a try?

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack

Attachment: pgpvFI7ye7B9f.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to