diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 03:33:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 05:33:53 +0100 |
commit | a3fccd27deeee38af5bb08c31e6317002a0e3e9e (patch) | |
tree | 6dbb5d57c846f83e86fb5a09a62dbc0643e012bb /l10ntools | |
parent | 695dca68537e56e66657a43667793af5eb4b6695 (diff) |
unusedcode.easy: remove unused code
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/export.hxx | 5 | ||||
-rw-r--r-- | l10ntools/source/export2.cxx | 31 |
2 files changed, 0 insertions, 36 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 97efcd92c950..760a7454fb46 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -310,11 +310,6 @@ public: static void Languages( std::vector<rtl::OString>::const_iterator& begin , std::vector<rtl::OString>::const_iterator& end ); - static void DumpExportList(const rtl::OString& rListName, - ExportList& aList); - static void DumpMap(const rtl::OString& rMapName, - OStringHashMap& aMap); - private: static std::vector<rtl::OString> aLanguages; static std::vector<rtl::OString> aForcedLanguages; diff --git a/l10ntools/source/export2.cxx b/l10ntools/source/export2.cxx index 1341c41691a1..013ae90d164f 100644 --- a/l10ntools/source/export2.cxx +++ b/l10ntools/source/export2.cxx @@ -91,37 +91,6 @@ rtl::OString Export::sLanguages; rtl::OString Export::sForcedLanguages; /*****************************************************************************/ -void Export::DumpExportList(const rtl::OString& rListName, ExportList& aList) -{ - printf( "%s\n", rListName.getStr() ); - rtl::OString l; - ExportListEntry* aEntry; - for( unsigned int x = 0; x < aList.size() ; ++x ) - { - aEntry = (ExportListEntry*) aList[ x ]; - Export::DumpMap( l , *aEntry ); - } - printf("\n"); -} - -void Export::DumpMap(const rtl::OString& rMapName, - OStringHashMap& aMap) -{ - if( rMapName.getLength() ) - printf("MapName %s\n", rMapName.getStr()); - if( aMap.size() < 1 ) - return; - for(OStringHashMap::const_iterator idbg = aMap.begin(); idbg != aMap.end(); ++idbg) - { - rtl::OString a( idbg->first ); - rtl::OString b( idbg->second ); - printf("[%s]= %s",a.getStr(),b.getStr()); - printf("\n"); - } - printf("\n"); - return; -} - /*****************************************************************************/ void Export::SetLanguages( std::vector<rtl::OString> val ){ /*****************************************************************************/ |