diff options
author | Bálint Dózsa <dozsabalint@gmail.com> | 2011-02-14 17:21:49 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-14 17:49:00 +0100 |
commit | e7c76f4aba5fdf5b708ea4b309e837b021bc8eaf (patch) | |
tree | 3697a60b64e9d8b1a0485d5d2bdbdaea26da5c8f /writerfilter/qa | |
parent | these variables are used, do not (void)var them (diff) | |
download | core-e7c76f4aba5fdf5b708ea4b309e837b021bc8eaf.tar.gz core-e7c76f4aba5fdf5b708ea4b309e837b021bc8eaf.zip |
Remove dead code
Diffstat (limited to 'writerfilter/qa')
4 files changed, 0 insertions, 12 deletions
diff --git a/writerfilter/qa/cppunittests/doctok/testdoctok.cxx b/writerfilter/qa/cppunittests/doctok/testdoctok.cxx index 095eff019c03..257f276686c4 100644 --- a/writerfilter/qa/cppunittests/doctok/testdoctok.cxx +++ b/writerfilter/qa/cppunittests/doctok/testdoctok.cxx @@ -105,9 +105,7 @@ namespace testdoctok rtl_uString *dir=NULL; osl_getProcessWorkingDir(&dir); rtl_uString *fname=NULL; - //rtl_uString_newFromAscii(&fname, "/OpenDocument-v1.doc"); rtl_uString_newFromAscii(&fname, "/test.doc"); - //rtl_uString_newFromAscii(&fname, "/numbers.doc"); rtl_uString *absfile=NULL; rtl_uString_newConcat(&absfile, dir, fname); @@ -210,7 +208,6 @@ namespace testdoctok CPPUNIT_TEST_SUITE(test); CPPUNIT_TEST(testInitUno); CPPUNIT_TEST(testOpenFile); - //CPPUNIT_TEST(testTraversal); CPPUNIT_TEST(testEvents); CPPUNIT_TEST(testEnd); CPPUNIT_TEST_SUITE_END(); diff --git a/writerfilter/qa/cppunittests/odiapi/ExternalViewLogger.cxx b/writerfilter/qa/cppunittests/odiapi/ExternalViewLogger.cxx index f3f364be5122..2fb2a73ecbc5 100644 --- a/writerfilter/qa/cppunittests/odiapi/ExternalViewLogger.cxx +++ b/writerfilter/qa/cppunittests/odiapi/ExternalViewLogger.cxx @@ -83,8 +83,6 @@ namespace util void ExternalViewLoggerImpl::endTree() { - //dumpNodeContainer(mFileName + string(".dmp")); - mFile << "digraph {" << endl; mFile << "Root [shape=box, color=grey];" << endl; diff --git a/writerfilter/qa/cppunittests/qname/testQName.cxx b/writerfilter/qa/cppunittests/qname/testQName.cxx index 11cbd18232f4..2a2b26e8bcf4 100644 --- a/writerfilter/qa/cppunittests/qname/testQName.cxx +++ b/writerfilter/qa/cppunittests/qname/testQName.cxx @@ -62,7 +62,6 @@ public: id%=QName::tokenizer().getQNames(); const sal_Char *ln=QName::serializer().getLocalName((QName_t)id); const sal_Char *ns=QName::serializer().getNamespaceUri((QName_t)id); -// printf("%i \"%s\" \"%s\"\n", i, ns, ln); testAdd(ns, ln); } rtl_random_destroyPool(rndPool); diff --git a/writerfilter/qa/cppunittests/xxml/testXXML.cxx b/writerfilter/qa/cppunittests/xxml/testXXML.cxx index 9b37173f54d2..8a78e3a4dd74 100644 --- a/writerfilter/qa/cppunittests/xxml/testXXML.cxx +++ b/writerfilter/qa/cppunittests/xxml/testXXML.cxx @@ -94,10 +94,8 @@ public: virtual void startElement(QName_t name, QName_t attrName[], const xxml::Value *attrValue[], int attrs) { events++; -// printf("<{%s}:%s>\n", QName::serializer().getNamespaceUri(name), QName::serializer().getLocalName(name)); for(int i=0;i<attrs;i++) { -// printf("@{%s}:%s=\"%s\"\n", QName::serializer().getNamespaceUri(attrName[i]), QName::serializer().getLocalName(attrName[i]), attrValue[i]->getOString().getStr()); events++; } @@ -127,7 +125,6 @@ public: } virtual void endElement(QName_t name) { - //printf("</{%s}:%s>\n", QName::serializer().getNamespaceUri(name), QName::serializer().getLocalName(name)); events++; switch(name) { @@ -149,7 +146,6 @@ public: } virtual void characters(const xxml::Value &value) { - //printf("\"%s\"\n", value.getOString().getStr()); events++; } @@ -164,8 +160,6 @@ public: std::auto_ptr<xxml::XXmlReader> reader=xxml::XXmlReader::createXXmlReader(handler); TimeValue t1; osl_getSystemTime(&t1); -// reader->read("test.xml"); -// reader->read("C:\\Documents and Settings\\fr156068\\My Documents\\odt\\testfile.xml"); reader->read("C:\\Documents and Settings\\fr156068\\My Documents\\odt\\testfile\\content.xml"); TimeValue t2; osl_getSystemTime(&t2); printf("Events=%i time=%is time/event=%0.10fs\n", handler.events, t2.Seconds-t1.Seconds, (double)(t2.Seconds-t1.Seconds)/(double)handler.events); |