in master: failing tests / no matching locale

Eike Rathke erack at redhat.com
Thu Jul 23 03:57:53 PDT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150723/7e9b13fd/attachment.sig>


More information about the LibreOffice mailing list