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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Oct 27 08:10:31 PDT 2012


 i18npool/inc/i18npool/languagetag.hxx       |    5 -----
 i18npool/source/languagetag/languagetag.cxx |    8 --------
 unusedcode.easy                             |    1 -
 3 files changed, 14 deletions(-)

New commits:
commit d4fb3b42b81a9b5a973dcd29759579593cd01f06
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Oct 27 17:09:04 2012 +0200

    Remove unused overrideDataPath
    
    Change-Id: I7dfaa933d918023999bfe78a497da7dbd59f7fc1

diff --git a/i18npool/inc/i18npool/languagetag.hxx b/i18npool/inc/i18npool/languagetag.hxx
index 36ab7a2..7475cf0 100644
--- a/i18npool/inc/i18npool/languagetag.hxx
+++ b/i18npool/inc/i18npool/languagetag.hxx
@@ -120,11 +120,6 @@ public:
     /** If this is a valid BCP 47 language tag. */
     bool                            isValidBcp47() const;
 
-    /** Needed for unit test in build environment, must be called before any
-        LanguageTag is instanciated.
-     */
-    static void                     overrideDataPath( const rtl::OUString& rPath );
-
 private:
 
     enum Decision
diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx
index 14cad58..8e96d61 100644
--- a/i18npool/source/languagetag/languagetag.cxx
+++ b/i18npool/source/languagetag/languagetag.cxx
@@ -138,14 +138,6 @@ void LiblantagDataRef::setupDataPath()
         lt_db_set_datadir( maDataPath.getStr());
 }
 
-
-// static
-void LanguageTag::overrideDataPath( const rtl::OUString& rPath )
-{
-    theDataRef.presetDataPath( rPath);
-}
-
-
 LanguageTag::LanguageTag( const rtl::OUString & rBcp47LanguageTag, bool bCanonicalize )
     :
         maBcp47( rBcp47LanguageTag),
diff --git a/unusedcode.easy b/unusedcode.easy
index 5c54e28..bb758da 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,5 +1,4 @@
 FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
-LanguageTag::overrideDataPath(rtl::OUString const&)
 RelatedMultipart::getIds()
 SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
 ScFiltersTest::testColorScaleODS()


More information about the Libreoffice-commits mailing list