unusedcode.easy | 2 -- writerfilter/inc/resourcemodel/WW8ResourceModel.hxx | 3 --- writerfilter/source/resourcemodel/WW8Analyzer.cxx | 5 ----- writerfilter/source/resourcemodel/analyzerheader | 3 --- writerfilter/source/resourcemodel/qnametostrfooter | 17 ----------------- 5 files changed, 30 deletions(-)
New commits: commit dd77f79f0acf202ba7ff40cdd5b7411d277b9d1c Author: Marcos Paulo de Souza <[email protected]> Date: Thu Nov 15 06:35:06 2012 -0200 Remove unused methods from writerfilter Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b Signed-off-by: Marcos Paulo de Souza <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/1074 Reviewed-by: Tor Lillqvist <[email protected]> Tested-by: Tor Lillqvist <[email protected]> diff --git a/unusedcode.easy b/unusedcode.easy index cc9cdb0..826a596 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 ab076a2..d9dd772 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<string> & o, const char * name, writerfilter::Reference<Properties>::Pointer_t props); diff --git a/writerfilter/source/resourcemodel/WW8Analyzer.cxx b/writerfilter/source/resourcemodel/WW8Analyzer.cxx index 09ebb18..0426a6b 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 3082bfa..e444811 100644 --- a/writerfilter/source/resourcemodel/analyzerheader +++ b/writerfilter/source/resourcemodel/analyzerheader @@ -22,6 +22,3 @@ namespace writerfilter { -void analyzerIds(::std::iostream & out) -{ - out << "<ids>" << endl; diff --git a/writerfilter/source/resourcemodel/qnametostrfooter b/writerfilter/source/resourcemodel/qnametostrfooter index 4cba68b..3c79a48 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 << "<ids type=\"sprm\">" << endl; - - sprmidsToXML(cout); - ooxmlsprmidsToXML(cout); - - cout << "</ids>" << endl; - - cout << "<ids type=\"attribute\">" << endl; - - doctokidsToXML(cout); - ooxmlidsToXML(cout); - - cout << "</ids>" << endl; -} - } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
