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:55:30 +0200 |
commit | e3ce0437b61b19f6a53d0224e4266ed6c8d277ad (patch) | |
tree | 112fe86c533beb7d43c9b335922707cba7fa3aa1 /svx | |
parent | 94d290da466e94c7c14becfa2da716fa0df5e25e (diff) |
disallow private use language tags in combo box edit
Change-Id: I75f0b93507d31a12b07e4bb7d2c86671aa074486
(cherry picked from commit a8c5adabb98d4152527b553f904c1841c7393748)
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 fc6262c0ffa0..533ae4eb7fb3 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -733,7 +733,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) { |