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 | |
parent | warn if an explicit requested top level widget name wasn't found (diff) | |
download | core-a14cc2331855c919761121c3ff234387921413ac.tar.gz core-a14cc2331855c919761121c3ff234387921413ac.zip |
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>
-rw-r--r-- | i18npool/source/languagetag/languagetag.cxx | 10 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
2 files changed, 0 insertions, 11 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. diff --git a/unusedcode.easy b/unusedcode.easy index a3e78d5e6c23..fa6e588366cb 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,6 +1,5 @@ FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool) GraphicObject::SwapIn(SvStream*) -LiblantagDataRef::presetDataPath(rtl::OUString const&) Line::GetLength() const Line::Intersection(Rectangle const&, Line&) const PoHeader::getLanguage() const |