summaryrefslogtreecommitdiff
path: root/sax/test/saxdemo.cxx
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/saxdemo.cxx
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/saxdemo.cxx')
-rw-r--r--sax/test/saxdemo.cxx8
1 files changed, 0 insertions, 8 deletions
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");