summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-04 08:56:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-04 09:00:06 +0100
commit7c1a74b62ec33d6994445a7fb9d91088b3067316 (patch)
tree53105d3d2eabbbae3d13f489e2a40cbd5a48ac39 /linguistic
parent7d31a252b12b619a91ac8711b64d0968e055e1fb (diff)
regenerate list
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngopt.cxx19
-rw-r--r--linguistic/source/lngopt.hxx6
2 files changed, 0 insertions, 25 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index 047a4ca16dd9..cafaba97bb60 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -99,25 +99,6 @@ LinguOptions::~LinguOptions()
}
}
-
-sal_Bool LinguOptions::SetLocale_Impl( sal_Int16 &rLanguage, Any &rOld, const Any &rVal, sal_Int16 nType)
-{
- sal_Bool bRes = sal_False;
-
- Locale aNew;
- rVal >>= aNew;
- sal_Int16 nNew = MsLangId::resolveSystemLanguageByScriptType(MsLangId::convertLocaleToLanguage(aNew), nType);
- if (nNew != rLanguage)
- {
- Locale aLocale( CreateLocale( rLanguage ) );
- rOld.setValue( &aLocale, ::getCppuType((Locale*)0 ));
- rLanguage = nNew;
- bRes = sal_True;
- }
-
- return bRes;
-}
-
struct WID_Name
{
sal_Int32 nWID;
diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx
index f7d6948daaab..1e0fa9ffd7a1 100644
--- a/linguistic/source/lngopt.hxx
+++ b/linguistic/source/lngopt.hxx
@@ -68,12 +68,6 @@ class LinguOptions
static SvtLinguOptions *pData;
static oslInterlockedCount nRefCount; // number of objects of this class
- //! uses default assignment-operator
-
- sal_Bool SetLocale_Impl( sal_Int16 &rLanguage,
- ::com::sun::star::uno::Any &rOld,
- const ::com::sun::star::uno::Any &rVal, sal_Int16 nType );
-
public:
LinguOptions();
LinguOptions(const LinguOptions &rOpt);