[Libreoffice-commits] .: i18npool/source unusedcode.easy

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 30 08:58:27 PST 2012


 i18npool/source/languagetag/languagetag.cxx |   10 ----------
 unusedcode.easy                             |    1 -
 2 files changed, 11 deletions(-)

New commits:
commit a14cc2331855c919761121c3ff234387921413ac
Author: Paula Mannes <paulamannes at gmail.com>
Date:   Fri Nov 30 14:12:33 2012 -0200

    Removed useless method from languagetag
    
    Change-Id: I683c54ed278d5a6ba12eaefb8040c3753a24f119
    Signed-off-by: Paula Mannes <paulamannes at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/1204
    Reviewed-by: Olivier Hallot <olivier.hallot at alta.org.br>
    Tested-by: Olivier Hallot <olivier.hallot at alta.org.br>

diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx
index fc5b058..94cf2e1 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 a3e78d5..fa6e588 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


More information about the Libreoffice-commits mailing list