sw/qa/extras/odfexport/data/referencelanguage.odt |binary
 sw/qa/extras/odfexport/odfexport.cxx              |    2 +-
 sw/source/core/fields/reffld.cxx                  |    2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6f9a1de1f1793f31f99b3d0099cd27a7488583ff
Author:     László Németh <nem...@numbertext.org>
AuthorDate: Tue Nov 20 09:44:43 2018 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Fri Dec 14 17:33:29 2018 +0100

    tdf#115319 fix Hungarian article before letter i
    
    in words, for example “az Ipsum”, not “a Ipsum”.
    
    This bug was reported by Gellért Gyuris.
    
    Complete commit 1037e3759bf178b52d16c12a811717f94ab9950a
    (tdf#115319 references with Hungarian articles)
    
    Change-Id: If930feb11a0308246d2512f0093bcacdc8675d0b
    Reviewed-on: https://gerrit.libreoffice.org/63637
    Tested-by: Jenkins
    Reviewed-by: László Németh <nem...@numbertext.org>
    (cherry picked from commit 542d17d9384cced62db6bcfa45a5f44316409edc)
    Reviewed-on: https://gerrit.libreoffice.org/63671
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/sw/qa/extras/odfexport/data/referencelanguage.odt 
b/sw/qa/extras/odfexport/data/referencelanguage.odt
index dcdd626fe3cf..9614bb3e31bc 100644
Binary files a/sw/qa/extras/odfexport/data/referencelanguage.odt and 
b/sw/qa/extras/odfexport/data/referencelanguage.odt differ
diff --git a/sw/qa/extras/odfexport/odfexport.cxx 
b/sw/qa/extras/odfexport/odfexport.cxx
index 3527541a0177..930a3ce1f73d 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -1948,7 +1948,7 @@ DECLARE_ODFEXPORT_TEST(testReferenceLanguage, 
"referencelanguage.odt")
 {
     // Test loext:reference-language attribute of reference fields
     // (used from LibreOffice 6.1, and proposed for next ODF)
-    const char* aFieldTexts[] = { "A 2", "Az 50-esek",
+    const char* aFieldTexts[] = { "A 2", "Az Isten", "Az 50-esek",
         "A 2018-asok", "Az egyebek", "A fejezetek",
         u8"Az „Őseinket...”", "a 2",
         "Az v", "az 1", "Az e", "az 1",
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index 0ba15e80664e..40793345af65 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -294,7 +294,7 @@ static void lcl_formatReferenceLanguage( OUString& rRefText,
             0x00E1, 0x00C1, 0x00E9, 0x00C9, 0x00ED, 0x00CD,
             0x00F3, 0x00D3, 0x00F6, 0x00D6, 0x0151, 0x0150,
             0x00FA, 0x00DA, 0x00FC, 0x00DC, 0x0171, 0x0170, 0 };
-        static OUString sVowels = "aAeEoOuU" + OUString(sVowelsWithDiacritic);
+        static OUString sVowels = "aAeEiIoOuU" + 
OUString(sVowelsWithDiacritic);
 
         // handle more than 1-letter long Roman numbers and
         // their possible combinations with letters:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to