diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-27 17:09:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-27 17:09:04 +0200 |
commit | d4fb3b42b81a9b5a973dcd29759579593cd01f06 (patch) | |
tree | bc4f8ddec95f4b43680f5933f3c36a609ee8d61b /i18npool | |
parent | 6affa4be69aa31e27af9d50e9ab6bd740319c379 (diff) |
Remove unused overrideDataPath
Change-Id: I7dfaa933d918023999bfe78a497da7dbd59f7fc1
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/i18npool/languagetag.hxx | 5 | ||||
-rw-r--r-- | i18npool/source/languagetag/languagetag.cxx | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/i18npool/inc/i18npool/languagetag.hxx b/i18npool/inc/i18npool/languagetag.hxx index 36ab7a24bd0a..7475cf06c679 100644 --- a/i18npool/inc/i18npool/languagetag.hxx +++ b/i18npool/inc/i18npool/languagetag.hxx @@ -120,11 +120,6 @@ public: /** If this is a valid BCP 47 language tag. */ bool isValidBcp47() const; - /** Needed for unit test in build environment, must be called before any - LanguageTag is instanciated. - */ - static void overrideDataPath( const rtl::OUString& rPath ); - private: enum Decision diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx index 14cad588a857..8e96d61db320 100644 --- a/i18npool/source/languagetag/languagetag.cxx +++ b/i18npool/source/languagetag/languagetag.cxx @@ -138,14 +138,6 @@ void LiblantagDataRef::setupDataPath() lt_db_set_datadir( maDataPath.getStr()); } - -// static -void LanguageTag::overrideDataPath( const rtl::OUString& rPath ) -{ - theDataRef.presetDataPath( rPath); -} - - LanguageTag::LanguageTag( const rtl::OUString & rBcp47LanguageTag, bool bCanonicalize ) : maBcp47( rBcp47LanguageTag), |