summaryrefslogtreecommitdiff
path: root/testtools
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 /testtools
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 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx3
-rw-r--r--testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx4
-rw-r--r--testtools/source/bridgetest/cppobj.cxx3
-rw-r--r--testtools/source/performance/ubobject.cxx8
-rw-r--r--testtools/source/performance/ubtest.cxx12
5 files changed, 0 insertions, 30 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 961cd9de1b1c..bde14924de23 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -327,7 +327,6 @@ public:
};
-
static bool performRecursiveCallTest( const Reference < XBridgeTest > & xLBT )
{
xLBT->startRecursiveCall( new ORecursiveCall , 50 );
@@ -1243,8 +1242,6 @@ Sequence< OUString > TestBridgeImpl::getSupportedServiceNames()
}
-
-
static Reference< XInterface > SAL_CALL TestBridgeImpl_create(
const Reference< XComponentContext > & xContext )
{
diff --git a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx
index a093eb0f6003..abb082e3fd24 100644
--- a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx
+++ b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx
@@ -277,7 +277,6 @@ static bool testAny(Type* typ, Object* value, XBridgeTest* xLBT )
}
-
static bool performAnyTest(XBridgeTest* xLBT, TestDataElements* data)
{
bool bReturn = true;
@@ -331,8 +330,6 @@ static bool performSequenceOfCallTest(XBridgeTest* xLBT)
}
-
-
static bool performRecursiveCallTest(XBridgeTest* xLBT)
{
xLBT->startRecursiveCall(new ORecursiveCall(), 50);
@@ -812,7 +809,6 @@ static bool raiseException(XBridgeTest* xLBT )
}
-
int run( String* args[] )
{
try
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 3412ae48289d..a5ca8bc61c21 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -491,7 +491,6 @@ Any Test_Impl::transportAny( const Any & value ) throw ( css::uno::RuntimeExcept
}
-
namespace {
void wait(sal_Int32 microSeconds) {
@@ -1169,8 +1168,6 @@ Sequence< OUString > Test_Impl::getSupportedServiceNames()
}
-
-
static Reference< XInterface > SAL_CALL Test_Impl_create(
SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > & )
{
diff --git a/testtools/source/performance/ubobject.cxx b/testtools/source/performance/ubobject.cxx
index 3b8a04d4b11d..ca0582e24e4b 100644
--- a/testtools/source/performance/ubobject.cxx
+++ b/testtools/source/performance/ubobject.cxx
@@ -199,7 +199,6 @@ public:
};
-
// XServiceInfo
OUString ServiceImpl::getImplementationName()
@@ -221,8 +220,6 @@ Sequence< OUString > ServiceImpl::getSupportedServiceNames()
}
-
-
static Reference< XInterface > SAL_CALL ServiceImpl_create( const Reference< XMultiServiceFactory > & xSMgr )
{
return Reference< XInterface >( (XPerformanceTest *)new ServiceImpl( xSMgr ) );
@@ -231,11 +228,6 @@ static Reference< XInterface > SAL_CALL ServiceImpl_create( const Reference< XMu
}
-
-
-
-
-
extern "C"
{
sal_Bool SAL_CALL component_writeInfo(
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index 2b1c83401de6..f1351132ea0a 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -422,8 +422,6 @@ public:
};
-
-
TestImpl::TestImpl( const Reference< XMultiServiceFactory > & xSMgr )
: _xSMgr( xSMgr )
{
@@ -1026,7 +1024,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
TimingSheet aDirect;
-
if (aArg.indexOf( 'd' ) >= 0)
{
// in process direct test
@@ -1037,7 +1034,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
}
-
if (aArg.indexOf( 'm' ) >= 0)
{
// in process uno dispatch
@@ -1068,7 +1064,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
}
-
if (aArg.indexOf( 's' ) >= 0)
{
// start server process
@@ -1136,7 +1131,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
}
-
if (aArg.indexOf( 'r' ) >= 0)
{
// remote
@@ -1155,7 +1149,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
}
-
if (aArg.indexOf( 'j' ) >= 0)
{
// java
@@ -1256,11 +1249,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
}
-
-
-
-
-
extern "C"
{