Bugzilla – Attachment 62242 Details for
Bug 45830
Language/User Interface: current choice indicated as default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
new patch that solves the problem in langbox.cxx
0001-fdo-45830-Indicate-correct-default-locale-setting.patch (text/plain), 1.14 KB, created by
Rob Snelders
on 2012-05-29 14:28:10 UTC
(
hide
)
Description:
new patch that solves the problem in langbox.cxx
Filename:
MIME Type:
Creator:
Rob Snelders
Created:
2012-05-29 14:28:10 UTC
Size:
1.14 KB
patch
obsolete
>From 67fd871f3549b977406da10a2062f6b229cbd519 Mon Sep 17 00:00:00 2001 >From: Rob Snelders <programming@ertai.nl> >Date: Tue, 29 May 2012 23:25:10 +0200 >Subject: [PATCH] fdo#45830: Indicate correct default locale setting > >Change-Id: Iac77758e4cdd48629ae276566bec2d7a4b873e38 >--- > svx/source/dialog/langbox.cxx | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx >index 0ec2329..a2ec7fd 100644 >--- a/svx/source/dialog/langbox.cxx >+++ b/svx/source/dialog/langbox.cxx >@@ -349,7 +349,10 @@ sal_uInt16 SvxLanguageBox::ImplInsertLanguage( const LanguageType nLangType, sal > LanguageType nRealLang = nLang; > if (nRealLang == LANGUAGE_SYSTEM) > { >- nRealLang = MsLangId::resolveSystemLanguageByScriptType(nRealLang, nType); >+ if (nType == ::com::sun::star::i18n::ScriptType::WEAK) >+ nRealLang = MsLangId::getSystemLanguage(); >+ else >+ nRealLang = MsLangId::resolveSystemLanguageByScriptType(nRealLang, nType); > aStrEntry.AppendAscii(" - "); > aStrEntry.Append(m_pLangTable->GetString( nRealLang )); > } >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45830
:
62137
| 62242