diff options
author | Paula Mannes <paulamannes@gmail.com> | 2012-11-30 14:12:33 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-11-30 16:58:06 +0000 |
commit | a14cc2331855c919761121c3ff234387921413ac (patch) | |
tree | 1fbab4606e52c25b21e18b30ca801ddffcac6f19 /i18npool | |
parent | 9f5ef935986cdf84189cbe2a7a0b0e90de0c3b1c (diff) |
Removed useless method from languagetag
Change-Id: I683c54ed278d5a6ba12eaefb8040c3753a24f119
Signed-off-by: Paula Mannes <paulamannes@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1204
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'i18npool')
-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. |