summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-11-15 06:35:06 -0200
committerTor Lillqvist <tml@iki.fi>2012-11-15 09:09:41 +0000
commitdd77f79f0acf202ba7ff40cdd5b7411d277b9d1c (patch)
treecc0a6abfdd76b018f0552f7e7c5b439017a7f8c5
parent1ce76674a7188acb19a48ea2e828cd13e4e4699c (diff)
Remove unused methods from writerfilter
Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1074 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
-rwxr-xr-xunusedcode.easy2
-rw-r--r--writerfilter/inc/resourcemodel/WW8ResourceModel.hxx3
-rw-r--r--writerfilter/source/resourcemodel/WW8Analyzer.cxx5
-rw-r--r--writerfilter/source/resourcemodel/analyzerheader3
-rw-r--r--writerfilter/source/resourcemodel/qnametostrfooter17
5 files changed, 0 insertions, 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<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 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 << "<ids>" << 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 << "<ids type=\"sprm\">" << endl;
-
- sprmidsToXML(cout);
- ooxmlsprmidsToXML(cout);
-
- cout << "</ids>" << endl;
-
- cout << "<ids type=\"attribute\">" << endl;
-
- doctokidsToXML(cout);
- ooxmlidsToXML(cout);
-
- cout << "</ids>" << endl;
-}
-
}