This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 2a7b19344a Fix Wrong order of First/Last Name in Hungarian UI:
2a7b19344a is described below

commit 2a7b19344adbc9ad4bf7dcd6352f4d9239f72cb2
Author: mseidel <[email protected]>
AuthorDate: Fri Mar 6 23:42:24 2026 +0100

    Fix Wrong order of First/Last Name in Hungarian UI:
    
    https://bz.apache.org/ooo/show_bug.cgi?id=105342
    (cherry picked from commit f85322cb163fa36b944b83d346add6028d75c80a)
---
 main/cui/source/options/optgenrl.cxx | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/main/cui/source/options/optgenrl.cxx 
b/main/cui/source/options/optgenrl.cxx
index dc4b313028..2605721dfc 100644
--- a/main/cui/source/options/optgenrl.cxx
+++ b/main/cui/source/options/optgenrl.cxx
@@ -19,8 +19,6 @@
  *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_cui.hxx"
 
@@ -161,9 +159,10 @@ SvxGeneralTabPage::SvxGeneralTabPage( Window* pParent, 
const SfxItemSet& rCoreSe
         aFatherName.SetZOrder( &aFirstName, WINDOW_ZORDER_BEHIND );
        }
        else if ( LANGUAGE_JAPANESE == eLang ||
-                 LANGUAGE_KOREAN == eLang ||
-                 LANGUAGE_CHINESE_TRADITIONAL == eLang ||
-                 LANGUAGE_CHINESE_SIMPLIFIED == eLang)
+                         LANGUAGE_KOREAN == eLang ||
+                         LANGUAGE_HUNGARIAN == eLang ||
+                         LANGUAGE_CHINESE_TRADITIONAL == eLang ||
+                         LANGUAGE_CHINESE_SIMPLIFIED == eLang)
        {
                aUsCityEdit.Hide();
                aUsStateEdit.Hide();
@@ -241,7 +240,7 @@ SfxTabPage* SvxGeneralTabPage::Create( Window* pParent, 
const SfxItemSet& rAttrS
 
 sal_Bool SvxGeneralTabPage::FillItemSet( SfxItemSet& )
 {
-       // Eingaben trimmen (f"uhrende und nachfolgende Leerzeichen entfernen)
+       // Eingaben trimmen (führende und nachfolgende Leerzeichen entfernen)
        aCompanyEdit.SetText( TRIM(aCompanyEdit.GetText()) );
        aFirstName.SetText( TRIM(aFirstName.GetText()) );
        aName.SetText( TRIM(aName.GetText()) );
@@ -554,3 +553,5 @@ int SvxGeneralTabPage::DeactivatePage( SfxItemSet* _pSet )
         FillItemSet( *_pSet );
        return LEAVE_PAGE;
 }
+
+/* vim: set noet sw=4 ts=4: */

Reply via email to