summaryrefslogtreecommitdiffstats
path: root/io/source
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 /io/source
parentFormatting changes across all modules (diff)
downloadcore-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.tar.gz
core-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.zip
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 'io/source')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx2
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx2
-rw-r--r--io/source/acceptor/acc_pipe.cxx1
-rw-r--r--io/source/connector/ctr_socket.cxx1
-rw-r--r--io/source/stm/odata.cxx13
-rw-r--r--io/source/stm/omark.cxx19
-rw-r--r--io/source/stm/opipe.cxx3
-rw-r--r--io/source/stm/opump.cxx12
8 files changed, 0 insertions, 53 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index d0cbf9fbca88..a82bd4c1c9ff 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -147,7 +147,6 @@ void OTextInputStream::implResizeBuffer()
}
-
// XTextInputStream
OUString OTextInputStream::readLine( )
@@ -414,7 +413,6 @@ void OTextInputStream::closeInput( )
}
-
// XActiveDataSink
void OTextInputStream::setInputStream( const Reference< XInputStream >& aStream )
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index f3533ef1c4a7..684d2fe7349f 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -158,7 +158,6 @@ Sequence<sal_Int8> OTextOutputStream::implConvert( const OUString& rSource )
}
-
// XTextOutputStream
void OTextOutputStream::writeString( const OUString& aString )
@@ -223,7 +222,6 @@ void OTextOutputStream::checkOutputStream()
}
-
// XActiveDataSource
void OTextOutputStream::setOutputStream( const Reference< XOutputStream >& aStream )
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx
index 74baf3b2651a..87f47dcace20 100644
--- a/io/source/acceptor/acc_pipe.cxx
+++ b/io/source/acceptor/acc_pipe.cxx
@@ -66,7 +66,6 @@ namespace io_acceptor
};
-
PipeConnection::PipeConnection( const OUString &sConnectionDescription) :
m_nStatus( 0 ),
m_sDescription( sConnectionDescription )
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 2995aad0a24b..2c0d3f691b2f 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -223,7 +223,6 @@ namespace stoc_connector {
}
-
// XConnectionBroadcaster
void SAL_CALL SocketConnection::addStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException, std::exception)
{
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 878e0dfffd91..5b61d14e919c 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -92,7 +92,6 @@ public: // XDataInputStream
virtual OUString SAL_CALL readUTF() throw (IOException, RuntimeException, std::exception) override;
-
public: // XActiveDataSink
virtual void SAL_CALL setInputStream(const Reference< XInputStream > & aStream)
throw (RuntimeException, std::exception) override;
@@ -207,8 +206,6 @@ void ODataInputStream::closeInput()
}
-
-
//== XDataInputStream ===========================================
// XDataInputStream
@@ -384,7 +381,6 @@ OUString ODataInputStream::readUTF() throw (IOException, RuntimeException, std::
}
-
// XActiveDataSource
void ODataInputStream::setInputStream(const Reference< XInputStream > & aStream)
throw (RuntimeException, std::exception)
@@ -406,7 +402,6 @@ Reference< XInputStream > ODataInputStream::getInputStream() throw (RuntimeExcep
}
-
// XDataSink
void ODataInputStream::setSuccessor( const Reference < XConnectable > &r ) throw (RuntimeException, std::exception)
{
@@ -491,8 +486,6 @@ Sequence<OUString> ODataInputStream_getSupportedServiceNames()
}
-
-
class ODataOutputStream :
public WeakImplHelper <
XDataOutputStream,
@@ -796,8 +789,6 @@ Reference< XOutputStream > ODataOutputStream::getOutputStream()
}
-
-
// XDataSink
void ODataOutputStream::setSuccessor( const Reference < XConnectable > &r )
throw (RuntimeException, std::exception)
@@ -839,7 +830,6 @@ Reference < XConnectable > ODataOutputStream::getPredecessor() throw (RuntimeEx
}
-
// XServiceInfo
OUString ODataOutputStream::getImplementationName() throw (std::exception)
{
@@ -1056,7 +1046,6 @@ void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj
}
-
void OObjectOutputStream::connectToMarkable()
{
if( ! m_bValidMarkable ) {
@@ -1133,8 +1122,6 @@ sal_Int32 OObjectOutputStream::offsetToMark(sal_Int32 nMark)
}
-
-
Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
throw(Exception)
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index c653efb87c08..55c2fcdd8fc4 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -316,7 +316,6 @@ sal_Int32 OMarkableOutputStream::offsetToMark(sal_Int32 nMark)
}
-
// XActiveDataSource2
void OMarkableOutputStream::setOutputStream(const Reference < XOutputStream >& aStream)
throw (RuntimeException, std::exception)
@@ -336,7 +335,6 @@ Reference< XOutputStream > OMarkableOutputStream::getOutputStream() throw (Runti
}
-
void OMarkableOutputStream::setSuccessor( const Reference< XConnectable > &r )
throw (RuntimeException, std::exception)
{
@@ -456,16 +454,9 @@ Sequence<OUString> OMarkableOutputStream_getSupportedServiceNames()
}
-
-
-
-
-
-
// XMarkableInputStream
-
class OMarkableInputStream :
public WeakImplHelper
<
@@ -565,8 +556,6 @@ OMarkableInputStream::~OMarkableInputStream()
}
-
-
// XInputStream
sal_Int32 OMarkableInputStream::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)
@@ -807,11 +796,6 @@ sal_Int32 OMarkableInputStream::offsetToMark(sal_Int32 nMark)
}
-
-
-
-
-
// XActiveDataSource
void OMarkableInputStream::setInputStream(const Reference< XInputStream > & aStream)
throw (RuntimeException, std::exception)
@@ -834,7 +818,6 @@ Reference< XInputStream > OMarkableInputStream::getInputStream() throw (RuntimeE
}
-
// XDataSink
void OMarkableInputStream::setSuccessor( const Reference< XConnectable > &r )
throw (RuntimeException, std::exception)
@@ -876,8 +859,6 @@ Reference< XConnectable > OMarkableInputStream::getPredecessor() throw (Runtime
}
-
-
void OMarkableInputStream::checkMarksAndFlush()
{
map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii;
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index ec7b70320700..8e3ecd2f2b67 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -122,7 +122,6 @@ private:
};
-
OPipeImpl::OPipeImpl()
{
m_nBytesToSkip = 0;
@@ -384,8 +383,6 @@ Reference < XConnectable > OPipeImpl::getPredecessor() throw( RuntimeException,
}
-
-
// XServiceInfo
OUString OPipeImpl::getImplementationName() throw(std::exception )
{
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index 3386ba48966f..8cf275620862 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -199,7 +199,6 @@ void Pump::fireTerminated()
}
-
void Pump::close()
{
// close streams and release references
@@ -301,7 +300,6 @@ void Pump::run()
}
-
/*
* XConnectable
*/
@@ -313,7 +311,6 @@ void Pump::setPredecessor( const Reference< XConnectable >& xPred ) throw(std::e
}
-
Reference< XConnectable > Pump::getPredecessor() throw(std::exception)
{
Guard< Mutex > aGuard( m_aMutex );
@@ -321,7 +318,6 @@ Reference< XConnectable > Pump::getPredecessor() throw(std::exception)
}
-
void Pump::setSuccessor( const Reference< XConnectable >& xSucc ) throw(std::exception)
{
Guard< Mutex > aGuard( m_aMutex );
@@ -329,7 +325,6 @@ void Pump::setSuccessor( const Reference< XConnectable >& xSucc ) throw(std::exc
}
-
Reference< XConnectable > Pump::getSuccessor() throw(std::exception)
{
Guard< Mutex > aGuard( m_aMutex );
@@ -337,7 +332,6 @@ Reference< XConnectable > Pump::getSuccessor() throw(std::exception)
}
-
/*
* XActiveDataControl
*/
@@ -348,14 +342,12 @@ void Pump::addListener( const Reference< XStreamListener >& xListener ) throw(st
}
-
void Pump::removeListener( const Reference< XStreamListener >& xListener ) throw(std::exception)
{
m_cnt.removeInterface( xListener );
}
-
void Pump::start() throw( RuntimeException, std::exception )
{
Guard< Mutex > aGuard( m_aMutex );
@@ -375,7 +367,6 @@ void Pump::start() throw( RuntimeException, std::exception )
}
-
void Pump::terminate() throw(std::exception)
{
close();
@@ -389,7 +380,6 @@ void Pump::terminate() throw(std::exception)
}
-
/*
* XActiveDataSink
*/
@@ -405,7 +395,6 @@ void Pump::setInputStream( const Reference< XInputStream >& xStream ) throw(std:
}
-
Reference< XInputStream > Pump::getInputStream() throw(std::exception)
{
Guard< Mutex > aGuard( m_aMutex );
@@ -413,7 +402,6 @@ Reference< XInputStream > Pump::getInputStream() throw(std::exception)
}
-
/*
* XActiveDataSource
*/