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

Caolán McNamara caolanm at redhat.com
Thu May 25 08:44:20 UTC 2017


 wizards/source/tools/Misc.xba |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 70fe321f3cadfb4c71bd2948d3b0651ab50ff009
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 25 09:43:12 2017 +0100

    match GetStarOfficeLocale with NLPSolver.ResourceManager
    
    for better or worse is another issue
    
    Change-Id: I2019c7506b95eb97461afc9b1d41782e0a9b2504

diff --git a/wizards/source/tools/Misc.xba b/wizards/source/tools/Misc.xba
index 9c19c7c967fe..f5950afd1f18 100644
--- a/wizards/source/tools/Misc.xba
+++ b/wizards/source/tools/Misc.xba
@@ -101,6 +101,9 @@ Dim oMasterKey
 	If Ubound(sLocaleList()) > 0 Then
 		aLocLocale.Country = sLocaleList(1)
 	End If
+	If Ubound(sLocaleList()) > 1 Then
+		aLocLocale.Variant = sLocaleList(2)
+	End If
 	GetStarOfficeLocale() = aLocLocale
 End Function
 


More information about the Libreoffice-commits mailing list