diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-11 09:47:59 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-11 09:47:59 +0000 |
commit | 0f71aee3d958f785020adfb14275a8bb58632c37 (patch) | |
tree | b1a9b0fedc1e502652d1270d39589a959b57e598 /desktop | |
parent | 860e79125970dd3870768f03ff6767e89d79afcb (diff) |
INTEGRATION: CWS lobeta2 (1.7.14); FILE MERGED
2004/12/09 13:36:56 lo 1.7.14.1: #i32939# set CJK and CTL document locale according to user lang, if not yet set
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/langselect.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/app/langselect.hxx b/desktop/source/app/langselect.hxx index 199a9e5a2c0c..b71d2c809192 100644 --- a/desktop/source/app/langselect.hxx +++ b/desktop/source/app/langselect.hxx @@ -2,9 +2,9 @@ * * $RCSfile: langselect.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2004-11-09 15:15:28 $ + * last change: $Author: vg $ $Date: 2005-03-11 10:47:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,6 +72,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <svtools/languageoptions.hxx> namespace desktop { @@ -91,6 +92,7 @@ private: static rtl::OUString getUserLanguage(); static rtl::OUString getSystemLanguage(); static void resetUserLanguage(); + static void setDefaultLocale(const rtl::OUString&); public: static com::sun::star::lang::Locale IsoStringToLocale(const rtl::OUString& str); |