summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-28 10:26:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-28 11:39:00 +0100
commit219aae1cea7ba88d5a4503f8070566755efd3aef (patch)
tree5220ac449756a14d31edeb81118a62e88d604dae /include/svl
parent0145d83cc7872bf943de12e386645a7aa8868f5d (diff)
Resolves: tdf#96748 'Default Language' show current ui lang not new default
i.e. if you select it, then the General::UILocale is unset and a new default generated based on the L10N::UILocale and what langpacks are installed but what the entry string claims is "Default - Current Language", rather than "Default - The Language That Will Be Used", so split out the language selection code into a reusable bit and use that to get the name of the language which will be selected if this entry is used Change-Id: I13d901c9a47ef213aea86417501114d4231efae5
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/languageoptions.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svl/languageoptions.hxx b/include/svl/languageoptions.hxx
index 3f1cd0e1a933..f223904a2f6e 100644
--- a/include/svl/languageoptions.hxx
+++ b/include/svl/languageoptions.hxx
@@ -132,6 +132,9 @@ public:
bool isCJKKeyboardLayoutInstalled() const;
};
+OUString SVL_DLLPUBLIC getInstalledLocaleForLanguage(css::uno::Sequence<OUString> const & installed, OUString const & locale);
+OUString SVL_DLLPUBLIC getInstalledLocaleForSystemUILanguage(css::uno::Sequence<OUString> const & installed);
+
#endif // INCLUDED_SVL_LANGUAGEOPTIONS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */