xmloff/source/core/xmlimp.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 4147d2f934eb2e6777e2334edfb5a27bfcf35ca4
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Fri Nov 7 15:53:16 2025 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Dec 8 09:42:50 2025 +0100

    Don't let the last translation act as a default
    
    Change-Id: Ia75743ad23ce651c9aab392098686d1978b49fe2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193629
    Reviewed-by: Tor Lillqvist <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195194
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index fd084ad77023..873aa8d69431 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -545,7 +545,9 @@ namespace {
                                     break;
                             }
                         }
-                        if (aKeyString.isEmpty())
+                        if (aLocale.isEmpty())
+                            ; // Do nothing, we don't have a matching 
translation
+                        else if (aKeyString.isEmpty())
                             aKeyString = aStr;
                         else
                         {

Reply via email to