[Libreoffice-commits] core.git: i18nlangtag/source

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Thu May 2 11:56:17 UTC 2019


 i18nlangtag/source/isolang/langid.pl |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 48c558a7c7ce94ff22e9f8e4181f98617ec5c6c3
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Thu May 2 13:54:39 2019 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Thu May 2 13:55:23 2019 +0200

    Adapt to reality
    
    Did not find anything in i18nlangtag/source/isolang/mslangid.cxx
    since conversion to typed int. List all occurrences now.
    
    Change-Id: Ibaf81599cc16ee06d38eb3a1593fa838a8e36355

diff --git a/i18nlangtag/source/isolang/langid.pl b/i18nlangtag/source/isolang/langid.pl
index ffb29ddb64b8..dd89a2860911 100755
--- a/i18nlangtag/source/isolang/langid.pl
+++ b/i18nlangtag/source/isolang/langid.pl
@@ -417,9 +417,10 @@ sub main()
             }
         }
 
-        #         case LANGUAGE_ARABIC_SAUDI_ARABIA & LANGUAGE_MASK_PRIMARY :
+        # Find any special treatment, may need inspection then.
+        # $grepdef already has \b word delimiters.
         grepFile(
-            $modifier . '^\s*case\s*.*' . $grepdef . '.*(\s*&\s*\w+)?\s*:',
+            $modifier . $grepdef,
             "$SRC_ROOT", "i18nlangtag", "source/isolang/mslangid.cxx", 1, ());
 
         my $module = "svtools";


More information about the Libreoffice-commits mailing list