diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /stoc/test | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (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 'stoc/test')
-rw-r--r-- | stoc/test/javavm/testjavavm.cxx | 1 | ||||
-rw-r--r-- | stoc/test/testconv.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testcorefl.cxx | 1 | ||||
-rw-r--r-- | stoc/test/testiadapter.cxx | 4 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 3 | ||||
-rw-r--r-- | stoc/test/testproxyfac.cxx | 1 | ||||
-rw-r--r-- | stoc/test/testsmgr_cpnt.cxx | 7 |
7 files changed, 0 insertions, 19 deletions
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index 76a7d29c5257..827a93cfb63e 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -43,7 +43,6 @@ using namespace css::registry; using namespace css::java; - sal_Bool testJavaVM(const Reference< XMultiServiceFactory > & xMgr ) { diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 786e8d35966c..d78e77b01db4 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -261,7 +261,6 @@ static sal_Bool convertTo( const Type & rDestType, const Any & rVal, sal_Bool bE } - typedef struct _ConvBlock { Any _value; @@ -287,7 +286,6 @@ typedef struct _ConvBlock } ConvBlock; - static sal_Int32 initBlocks( ConvBlock * pTestBlocks ) { Any aVal; diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx index 3d875b94efc7..e04519c2ba84 100644 --- a/stoc/test/testcorefl.cxx +++ b/stoc/test/testcorefl.cxx @@ -59,7 +59,6 @@ using namespace css::reflection; using namespace css::container; - class OInterfaceA : public WeakImplHelper< XInterfaceA > { public: diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx index 3452e68bc393..54c260e4fef4 100644 --- a/stoc/test/testiadapter.cxx +++ b/stoc/test/testiadapter.cxx @@ -49,8 +49,6 @@ using namespace css::reflection; using namespace css::registry; - - sal_Bool equals( const test::TestElement & rData1, const test::TestElement & rData2 ) { OSL_ENSURE( rData1.Bool == rData2.Bool, "### bool does not match!" ); @@ -666,8 +664,6 @@ sal_Bool XLB_Invocation::hasProperty( const OUString & rName ) } - - void Test_Impl::setValues( sal_Bool bBool, sal_Unicode cChar, sal_Int8 nByte, sal_Int16 nShort, sal_uInt16 nUShort, sal_Int32 nLong, sal_uInt32 nULong, diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index a3f694bb3bfc..49fac8c4d932 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -52,7 +52,6 @@ using namespace css::container; using namespace css::beans::PropertyAttribute; - #define DEFAULT_INDEX_ACCESS_COUNT 10 #define DEFAULT_NAME_ACCESS_COUNT 5 @@ -659,7 +658,6 @@ void ImplIntroTest::removePropertiesChangeListener } - struct DefItem { char const * pName; @@ -839,7 +837,6 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, OString aErrorStr; - // create test object Any aObjAny = getIntrospectionTestObject( xMgr ); diff --git a/stoc/test/testproxyfac.cxx b/stoc/test/testproxyfac.cxx index 9505d7ca32bd..83bda7ff321f 100644 --- a/stoc/test/testproxyfac.cxx +++ b/stoc/test/testproxyfac.cxx @@ -97,7 +97,6 @@ Any TargetObject::queryInterface( Type const & type ) int TargetObject::s_obj = 0; - class TestMaster : public WeakImplHelper< lang::XServiceInfo > { Reference< XAggregation > m_xProxyTarget; diff --git a/stoc/test/testsmgr_cpnt.cxx b/stoc/test/testsmgr_cpnt.cxx index e754b1038ee0..d64c2c3af8ad 100644 --- a/stoc/test/testsmgr_cpnt.cxx +++ b/stoc/test/testsmgr_cpnt.cxx @@ -60,7 +60,6 @@ using namespace osl; using namespace cppu; - Reference<XMultiServiceFactory> getProcessServiceManager() { Reference<XMultiServiceFactory > s_x; @@ -115,7 +114,6 @@ Reference< XInterface > SAL_CALL Test_Manager_Impl_CreateInstance_Impl() } - // Test_Manager_Impl_CreateInstance() Reference < XInterface > SAL_CALL Test_Manager_Impl_CreateInstance( @@ -127,7 +125,6 @@ Reference < XInterface > SAL_CALL Test_Manager_Impl_CreateInstance( } - // Test_Manager_Impl::getImplementationName OUString Test_Manager_Impl::getImplementationName() throw() @@ -161,8 +158,6 @@ Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames_Static() throw } - - /**** * * @@ -257,7 +252,6 @@ extern "C" void SAL_CALL test_ServiceManager() } - extern "C" { @@ -313,5 +307,4 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |