diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:25 -0400 |
commit | 8dcf22abfc6a07ececcef6bb830fdea825d416ec (patch) | |
tree | 7e0b3686991aef9689218ed309f462987f36e273 /cppu/source | |
parent | b91e39cf1b2d0c4201993d768a1b2c686eeff0de (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
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
(cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89)
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Diffstat (limited to 'cppu/source')
-rw-r--r-- | cppu/source/threadpool/current.cxx | 2 | ||||
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 3 | ||||
-rw-r--r-- | cppu/source/typelib/static_types.cxx | 1 | ||||
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 6 | ||||
-rw-r--r-- | cppu/source/uno/assign.hxx | 2 | ||||
-rw-r--r-- | cppu/source/uno/cascade_mapping.cxx | 1 | ||||
-rw-r--r-- | cppu/source/uno/constr.hxx | 1 | ||||
-rw-r--r-- | cppu/source/uno/copy.hxx | 1 | ||||
-rw-r--r-- | cppu/source/uno/destr.hxx | 1 | ||||
-rw-r--r-- | cppu/source/uno/eq.hxx | 1 |
10 files changed, 0 insertions, 19 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx index 084e82b2f07f..6eaed4dec760 100644 --- a/cppu/source/threadpool/current.cxx +++ b/cppu/source/threadpool/current.cxx @@ -97,8 +97,6 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext() } - - class ThreadKey { bool _bInit; diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index 92252ccb1ea4..c232bd14bf39 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -99,8 +99,6 @@ namespace cppu_threadpool } - - ThreadPool::ThreadPool() : m_DisposedCallerAdmin( DisposedCallerAdmin::getInstance() ) { @@ -370,7 +368,6 @@ struct uno_ThreadPool_Hash }; - typedef std::unordered_map< uno_ThreadPool, ThreadPoolHolder, uno_ThreadPool_Hash, uno_ThreadPool_Equal > ThreadpoolHashSet; static ThreadpoolHashSet *g_pThreadpoolHashSet; diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx index 4e80a2620918..2611ad4f7dab 100644 --- a/cppu/source/typelib/static_types.cxx +++ b/cppu/source/typelib/static_types.cxx @@ -90,7 +90,6 @@ static inline sal_Int32 newAlignedSize( } - namespace { struct typelib_StaticInitMutex : public rtl::Static< Mutex, typelib_StaticInitMutex > {}; diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index ee7ca0dad143..fc751ff1ba99 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -148,7 +148,6 @@ static inline sal_Int32 getDescriptionSize( typelib_TypeClass eTypeClass ) } - struct equalStr_Impl { bool operator()(const sal_Unicode * const & s1, const sal_Unicode * const & s2) const @@ -163,7 +162,6 @@ struct hashStr_Impl }; - // Heavy hack, the const sal_Unicode * is hold by the typedescription reference typedef std::unordered_map< const sal_Unicode *, typelib_TypeDescriptionReference *, hashStr_Impl, equalStr_Impl > WeakMap_Impl; @@ -1096,7 +1094,6 @@ extern "C" void SAL_CALL typelib_typedescription_newMIInterface( } - namespace { typelib_TypeDescriptionReference ** copyExceptions( @@ -1197,7 +1194,6 @@ extern "C" void SAL_CALL typelib_typedescription_newInterfaceMethod( } - extern "C" void SAL_CALL typelib_typedescription_newInterfaceAttribute( typelib_InterfaceAttributeTypeDescription ** ppRet, sal_Int32 nAbsolutePosition, @@ -1284,7 +1280,6 @@ extern "C" void SAL_CALL typelib_typedescription_acquire( } - namespace { void deleteExceptions( @@ -1766,7 +1761,6 @@ extern "C" sal_Int32 SAL_CALL typelib_typedescription_getAlignedUnoSize( } - namespace { typelib_TypeDescriptionReference ** copyExceptions( diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx index e016565aa7c9..5c6dc3202c9b 100644 --- a/cppu/source/uno/assign.hxx +++ b/cppu/source/uno/assign.hxx @@ -34,8 +34,6 @@ namespace cppu //#### assignment ################################################################################## - - inline void _assignInterface( void ** ppDest, void * pSource, uno_AcquireFunc acquire, uno_ReleaseFunc release ) diff --git a/cppu/source/uno/cascade_mapping.cxx b/cppu/source/uno/cascade_mapping.cxx index 3033545637fb..69721566d9c2 100644 --- a/cppu/source/uno/cascade_mapping.cxx +++ b/cppu/source/uno/cascade_mapping.cxx @@ -173,7 +173,6 @@ extern "C" { static void SAL_CALL s_MediatorMapping_free(uno_Mapping * pMapping) }} - static rtl::OUString getPrefix(rtl::OUString const & str1, rtl::OUString const & str2) { sal_Int32 nIndex1 = 0; diff --git a/cppu/source/uno/constr.hxx b/cppu/source/uno/constr.hxx index e6fd9abbcb66..1b77ce4e6d18 100644 --- a/cppu/source/uno/constr.hxx +++ b/cppu/source/uno/constr.hxx @@ -29,7 +29,6 @@ namespace cppu //#### construction ################################################################################ - void defaultConstructStruct( void * pMem, typelib_CompoundTypeDescription * pCompType ); diff --git a/cppu/source/uno/copy.hxx b/cppu/source/uno/copy.hxx index ab25e062b984..5f5b13878c9f 100644 --- a/cppu/source/uno/copy.hxx +++ b/cppu/source/uno/copy.hxx @@ -30,7 +30,6 @@ namespace cppu //#### copy construction ########################################################################### - inline uno_Sequence * allocSeq( sal_Int32 nElementSize, sal_Int32 nElements ) { diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx index 5ae29aedc6af..580620814b93 100644 --- a/cppu/source/uno/destr.hxx +++ b/cppu/source/uno/destr.hxx @@ -33,7 +33,6 @@ namespace cppu //#### destruction ################################################################################# - void destructStruct( void * pValue, typelib_CompoundTypeDescription * pTypeDescr, diff --git a/cppu/source/uno/eq.hxx b/cppu/source/uno/eq.hxx index 92acdcded26f..5a18e43dac19 100644 --- a/cppu/source/uno/eq.hxx +++ b/cppu/source/uno/eq.hxx @@ -32,7 +32,6 @@ namespace cppu //#### equality #################################################################################### - inline bool _equalObject( void * pI1, void * pI2, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) |