summaryrefslogtreecommitdiff
path: root/cppuhelper
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 /cppuhelper
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 'cppuhelper')
-rw-r--r--cppuhelper/source/component_context.cxx1
-rw-r--r--cppuhelper/source/factory.cxx1
-rw-r--r--cppuhelper/source/propshlp.cxx2
-rw-r--r--cppuhelper/source/tdmgr.cxx1
-rw-r--r--cppuhelper/source/weak.cxx2
-rw-r--r--cppuhelper/test/bootstrap/TestEnv.cxx1
-rw-r--r--cppuhelper/test/cfg_test.cxx4
-rw-r--r--cppuhelper/test/loader/loader.test.cxx1
-rw-r--r--cppuhelper/test/testcmp/TestComponent.cxx1
-rw-r--r--cppuhelper/test/testdefaultbootstrapping.cxx1
-rw-r--r--cppuhelper/test/testimplhelper.cxx1
-rw-r--r--cppuhelper/test/testpropshlp.cxx5
12 files changed, 0 insertions, 21 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 21f7cfde4b3b..55b126c1c7ca 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -819,7 +819,6 @@ ComponentContext::ComponentContext(
}
-
extern "C" { static void s_createComponentContext_v(va_list * pParam)
{
ContextEntry_Init const * pEntries = va_arg(*pParam, ContextEntry_Init const *);
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 779e861374c0..f14494ffe01c 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -128,7 +128,6 @@ OSingleFactoryHelper::~OSingleFactoryHelper()
}
-
Any OSingleFactoryHelper::queryInterface( const Type & rType )
throw(css::uno::RuntimeException, std::exception)
{
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index bd18e05decb1..b8b63041c6d0 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -155,7 +155,6 @@ public:
};
-
// class PropertySetHelper
OPropertySetHelper::OPropertySetHelper(
@@ -1225,5 +1224,4 @@ sal_Int32 OPropertyArrayHelper::fillHandles( sal_Int32 * pHandles, const Sequenc
} // end namespace cppu
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx
index 401610e0a4c6..e4c6edff61a9 100644
--- a/cppuhelper/source/tdmgr.cxx
+++ b/cppuhelper/source/tdmgr.cxx
@@ -562,7 +562,6 @@ static typelib_TypeDescription * createCTD(
}
-
extern "C"
{
static void SAL_CALL typelib_callback(
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index a67f881ad54a..1b30df65c095 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -167,7 +167,6 @@ void SAL_CALL OWeakConnectionPoint::removeReference(const Reference< XReference
}
-
//-- OWeakObject -------------------------------------------------------
@@ -314,7 +313,6 @@ namespace uno
{
-
//-- OWeakRefListener -----------------------------------------------------
class OWeakRefListener: public XReference, private boost::noncopyable
diff --git a/cppuhelper/test/bootstrap/TestEnv.cxx b/cppuhelper/test/bootstrap/TestEnv.cxx
index 0a08b54bd559..2e239ad4864a 100644
--- a/cppuhelper/test/bootstrap/TestEnv.cxx
+++ b/cppuhelper/test/bootstrap/TestEnv.cxx
@@ -24,7 +24,6 @@
#include <cppu/helper/purpenv/Mapping.hxx>
-
#define LOG_LIFECYCLE_TestEnv
#ifdef LOG_LIFECYCLE_TestEnv
# include <iostream>
diff --git a/cppuhelper/test/cfg_test.cxx b/cppuhelper/test/cfg_test.cxx
index 17d5d4eb9453..1f17ab63d89a 100644
--- a/cppuhelper/test/cfg_test.cxx
+++ b/cppuhelper/test/cfg_test.cxx
@@ -222,10 +222,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
}
-
-
-
-
SAL_IMPLEMENT_MAIN()
{
try
diff --git a/cppuhelper/test/loader/loader.test.cxx b/cppuhelper/test/loader/loader.test.cxx
index a2a33d9f08cc..a24a5641de40 100644
--- a/cppuhelper/test/loader/loader.test.cxx
+++ b/cppuhelper/test/loader/loader.test.cxx
@@ -73,7 +73,6 @@ public:
};
-
static rtl::OUString s_test__cppu_loadSharedLibComponentFactory(char const * pServicePurpose)
{
rtl::OUString result;
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx
index cca70c831a1b..1b4d7854cd21 100644
--- a/cppuhelper/test/testcmp/TestComponent.cxx
+++ b/cppuhelper/test/testcmp/TestComponent.cxx
@@ -18,7 +18,6 @@
*/
-
#define CPPUHELPER_TEST_COMPONENT_IMPL
#include "TestComponent.hxx"
diff --git a/cppuhelper/test/testdefaultbootstrapping.cxx b/cppuhelper/test/testdefaultbootstrapping.cxx
index 2f459a4e79fc..8e80efa6c4b6 100644
--- a/cppuhelper/test/testdefaultbootstrapping.cxx
+++ b/cppuhelper/test/testdefaultbootstrapping.cxx
@@ -21,7 +21,6 @@
#include <sal/main.h>
-
#include <cstdio>
#include <rtl/process.h>
diff --git a/cppuhelper/test/testimplhelper.cxx b/cppuhelper/test/testimplhelper.cxx
index b099d55bcbd1..3ff0ccd7d969 100644
--- a/cppuhelper/test/testimplhelper.cxx
+++ b/cppuhelper/test/testimplhelper.cxx
@@ -419,7 +419,6 @@ void throw_one(
}
-
void test_ImplHelper( const Reference< lang::XMultiServiceFactory > & /*xSF*/ )
{
Reference< XInterface > xImpl( (lang::XTypeProvider *)new TestImpl() );
diff --git a/cppuhelper/test/testpropshlp.cxx b/cppuhelper/test/testpropshlp.cxx
index ad62cd95b44e..e18b5dbfa31c 100644
--- a/cppuhelper/test/testpropshlp.cxx
+++ b/cppuhelper/test/testpropshlp.cxx
@@ -145,7 +145,6 @@ static Property * getPropertyTable4()
}
-
/**********************
*
* Note : all Property names must be in the 127 ASCII subset !
@@ -290,9 +289,6 @@ void test_PropertyArrayHelper()
}
-
-
-
// test_OPropertySetHelper
struct MutexContainer
@@ -420,7 +416,6 @@ Property * getBasicProps()
}
-
// test_OPropertySetHelper_Listener
class test_OPropertySetHelper_Listener