summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/source/languagetag/languagetag.cxx10
-rwxr-xr-xunusedcode.easy1
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