diff options
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/languagetag/languagetag.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx index fc5b0586c5d3..94cf2e16c7a8 100644 --- a/i18npool/source/languagetag/languagetag.cxx +++ b/i18npool/source/languagetag/languagetag.cxx @@ -70,7 +70,6 @@ public: if (mnRef != SAL_MAX_UINT32 && mnRef && !--mnRef) teardown(); } - void presetDataPath( const rtl::OUString& rPath ); private: rtl::OString maDataPath; // path to liblangtag data, "|" if system sal_uInt32 mnRef; @@ -112,15 +111,6 @@ void LiblantagDataRef::teardown() lt_db_finalize(); } -void LiblantagDataRef::presetDataPath( const rtl::OUString& rPath ) -{ - if (maDataPath.isEmpty()) - { - maDataPath = OUStringToOString( rPath, RTL_TEXTENCODING_UTF8); - lt_db_set_datadir( maDataPath.getStr()); - } -} - void LiblantagDataRef::setupDataPath() { // maDataPath is assumed to be empty here. |