diff options
author | Eike Rathke <erack@redhat.com> | 2014-06-03 14:47:47 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-06-03 14:48:49 +0200 |
commit | a8c5adabb98d4152527b553f904c1841c7393748 (patch) | |
tree | f30e9f5719645992d53894cb81190e55a08662cd /svx | |
parent | 4516b18f9a2e9c1bbbf013ccaedf0a526ba69dea (diff) |
disallow private use language tags in combo box edit
Change-Id: I75f0b93507d31a12b07e4bb7d2c86671aa074486
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 194a0d8a3f6d..de8c2514f26c 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -736,7 +736,7 @@ IMPL_LINK( SvxLanguageComboBox, EditModifyHdl, SvxLanguageComboBox*, /*pEd*/ ) else { OUString aCanonicalized; - bool bValid = LanguageTag::isValidBcp47( aStr, &aCanonicalized); + bool bValid = LanguageTag::isValidBcp47( aStr, &aCanonicalized, true); meEditedAndValid = (bValid ? EDITED_VALID : EDITED_INVALID); if (bValid && aCanonicalized != aStr) { |