summaryrefslogtreecommitdiff
path: root/sax/test
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /sax/test
parent538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff)
Remove excess newlines
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sax/test')
-rw-r--r--sax/test/sax/testwriter.cxx16
-rw-r--r--sax/test/saxdemo.cxx8
2 files changed, 0 insertions, 24 deletions
diff --git a/sax/test/sax/testwriter.cxx b/sax/test/sax/testwriter.cxx
index f07097fd1bfd..c031db370fe0 100644
--- a/sax/test/sax/testwriter.cxx
+++ b/sax/test/sax/testwriter.cxx
@@ -136,7 +136,6 @@ private:
};
-
/*----------------------------------------
*
* Attributlist implementation
@@ -197,7 +196,6 @@ struct AttributeListImpl_impl
};
-
sal_Int16 AttributeListImpl::getLength() throw (RuntimeException)
{
return m_pImpl->vecAttribute.size();
@@ -265,14 +263,12 @@ OUString AttributeListImpl::getValueByName(const OUString& sName) throw (Runtim
}
-
AttributeListImpl::AttributeListImpl()
{
m_pImpl = new AttributeListImpl_impl;
}
-
AttributeListImpl::~AttributeListImpl()
{
delete m_pImpl;
@@ -293,15 +289,6 @@ void AttributeListImpl::clear()
}
-
-
-
-
-
-
-
-
-
/**
* for external binding
*
@@ -331,7 +318,6 @@ Sequence<OUString> OSaxWriterTest_getSupportedServiceNames( ) throw ()
}
-
void OSaxWriterTest::testInvariant( const OUString& TestName,
const Reference < XInterface >& TestObject )
throw ( IllegalArgumentException, RuntimeException)
@@ -406,7 +392,6 @@ sal_Int32 OSaxWriterTest::test(
}
-
sal_Bool OSaxWriterTest::testPassed() throw (RuntimeException)
{
return m_seqErrors.getLength() == 0;
@@ -452,7 +437,6 @@ void OSaxWriterTest::writeParagraph(
}
-
void OSaxWriterTest::testSimple( const Reference< XExtendedDocumentHandler > &r )
{
OUString testParagraph = OUString(
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index 3f7d21c85dd0..419ce7ea799b 100644
--- a/sax/test/saxdemo.cxx
+++ b/sax/test/saxdemo.cxx
@@ -304,7 +304,6 @@ struct AttributeListImpl_impl
};
-
sal_Int16 AttributeListImpl::getLength() throw (RuntimeException)
{
return (sal_Int16) m_pImpl->vecAttribute.size();
@@ -368,14 +367,12 @@ OUString AttributeListImpl::getValueByName(const OUString& sName) throw (Runtim
}
-
AttributeListImpl::AttributeListImpl()
{
m_pImpl = new AttributeListImpl_impl;
}
-
AttributeListImpl::~AttributeListImpl()
{
delete m_pImpl;
@@ -395,7 +392,6 @@ void AttributeListImpl::clear()
}
-
// helper function for writing
// ensures that linebreaks are inserted
// when writing a long text.
@@ -425,7 +421,6 @@ void writeParagraphHelper(
}
-
// helper implementation for SAX-Writer
// writes data to a file
@@ -474,7 +469,6 @@ void OFileWriter::closeOutput()
}
-
// Needed to switch on solaris threads
#ifdef SOLARIS
extern "C" void ChangeGlobalInit();
@@ -525,7 +519,6 @@ int main (int argc, char **argv)
}
-
// parser demo
// read xml from a file and count elements
@@ -566,7 +559,6 @@ int main (int argc, char **argv)
}
-
// The SAX-Writer demo
x= xSMgr->createInstance("com.sun.star.xml.sax.Writer");