From dd77f79f0acf202ba7ff40cdd5b7411d277b9d1c Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Thu, 15 Nov 2012 06:35:06 -0200 Subject: [PATCH] Remove unused methods from writerfilter Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b Signed-off-by: Marcos Paulo de Souza Reviewed-on: https://gerrit.libreoffice.org/1074 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- unusedcode.easy | 2 -- .../inc/resourcemodel/WW8ResourceModel.hxx | 3 --- .../source/resourcemodel/WW8Analyzer.cxx | 5 ----- .../source/resourcemodel/analyzerheader | 3 --- .../source/resourcemodel/qnametostrfooter | 17 ----------------- 5 files changed, 30 deletions(-) diff --git a/unusedcode.easy b/unusedcode.easy index cc9cdb097249..826a596fc877 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -73,6 +73,4 @@ unicode::isDigit(unsigned short) unicode::isLower(unsigned short) unicode::isPrint(unsigned short) unicode::isUpper(unsigned short) -writerfilter::analyzerIds() -writerfilter::createAnalyzer() writerfilter::createStreamHandler() diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index ab076a23370a..d9dd77289f78 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -400,9 +400,6 @@ protected: */ Stream::Pointer_t WRITERFILTER_RESOURCEMODEL_DLLPUBLIC createStreamHandler(); - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC analyzerIds(); - Stream::Pointer_t WRITERFILTER_RESOURCEMODEL_DLLPUBLIC createAnalyzer(); - void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC logger(string prefix, string message); void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC dump(OutputWithDepth & o, const char * name, writerfilter::Reference::Pointer_t props); diff --git a/writerfilter/source/resourcemodel/WW8Analyzer.cxx b/writerfilter/source/resourcemodel/WW8Analyzer.cxx index 09ebb18045f4..0426a6b4a3de 100644 --- a/writerfilter/source/resourcemodel/WW8Analyzer.cxx +++ b/writerfilter/source/resourcemodel/WW8Analyzer.cxx @@ -200,11 +200,6 @@ void WW8Analyzer::dumpStats(ostream & o) const } -Stream::Pointer_t createAnalyzer() -{ - return Stream::Pointer_t(new WW8Analyzer()); -} - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerfilter/source/resourcemodel/analyzerheader b/writerfilter/source/resourcemodel/analyzerheader index 3082bfa0942a..e44481113b0c 100644 --- a/writerfilter/source/resourcemodel/analyzerheader +++ b/writerfilter/source/resourcemodel/analyzerheader @@ -22,6 +22,3 @@ namespace writerfilter { -void analyzerIds(::std::iostream & out) -{ - out << "" << endl; diff --git a/writerfilter/source/resourcemodel/qnametostrfooter b/writerfilter/source/resourcemodel/qnametostrfooter index 4cba68b6f852..3c79a48095d9 100644 --- a/writerfilter/source/resourcemodel/qnametostrfooter +++ b/writerfilter/source/resourcemodel/qnametostrfooter @@ -4,21 +4,4 @@ QNameToString::QNameToString() init_ooxml(); } -void WRITERFILTER_RESOURCEMODEL_DLLPUBLIC analyzerIds() -{ - cout << "" << endl; - - sprmidsToXML(cout); - ooxmlsprmidsToXML(cout); - - cout << "" << endl; - - cout << "" << endl; - - doctokidsToXML(cout); - ooxmlidsToXML(cout); - - cout << "" << endl; -} - }