summaryrefslogtreecommitdiff
path: root/bridges
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 /bridges
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 'bridges')
-rw-r--r--bridges/inc/bridges/cpp_uno/bridge.hxx16
-rw-r--r--bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx1
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx1
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx1
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx1
-rw-r--r--bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx1
-rw-r--r--bridges/source/cpp_uno/msvc_win32_intel/dllinit.cxx2
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/dllinit.cxx2
-rw-r--r--bridges/source/jni_uno/jni_data.cxx1
-rw-r--r--bridges/source/jni_uno/jni_info.cxx3
-rw-r--r--bridges/source/jni_uno/jni_java2uno.cxx1
-rw-r--r--bridges/source/jni_uno/jni_uno2java.cxx1
12 files changed, 0 insertions, 31 deletions
diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx
index 37ba95d7acc1..8bcd1ccc817b 100644
--- a/bridges/inc/bridges/cpp_uno/bridge.hxx
+++ b/bridges/inc/bridges/cpp_uno/bridge.hxx
@@ -135,12 +135,6 @@ inline cppu_cppInterfaceProxy::cppu_cppInterfaceProxy(
}
-
-
-
-
-
-
inline void SAL_CALL cppu_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy )
{
cppu_unoInterfaceProxy * pThis =
@@ -257,12 +251,6 @@ inline cppu_unoInterfaceProxy::cppu_unoInterfaceProxy(
}
-
-
-
-
-
-
inline void SAL_CALL cppu_Mapping_acquire( uno_Mapping * pMapping )
{
static_cast< cppu_Mapping * >( pMapping )->pBridge->acquire();
@@ -375,10 +363,6 @@ inline void SAL_CALL cppu_ext_getMapping(
}
-
-
-
-
// environment init stuff
inline const OUString & SAL_CALL cppu_cppenv_getStaticOIdPart()
diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
index af4583865570..0bb976716435 100644
--- a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
@@ -304,7 +304,6 @@ static typelib_TypeClass cpp2uno_call(
}
-
static typelib_TypeClass cpp_mediate(
sal_Int32 nFunctionIndex,
sal_Int32 nVtableOffset,
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
index f0fa890496da..966bac6a1366 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
@@ -355,7 +355,6 @@ static typelib_TypeClass cpp_mediate(
}
-
/**
* is called on incoming vtable calls
* (called by asm snippets)
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index d229de63f476..46f8d0f03111 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -466,7 +466,6 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock(
}
-
unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
Slot ** slots, unsigned char * code, sal_PtrDiff writetoexecdiff,
typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset,
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
index 5e2b30ff551f..3813d9bb04f5 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
@@ -457,7 +457,6 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock(
}
-
unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
Slot ** slots, unsigned char * code,
typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset,
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
index 8742b72fd65c..4b22dc843076 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
@@ -354,7 +354,6 @@ static typelib_TypeClass cpp_mediate(
}
-
/**
* is called on incoming vtable calls
* (called by asm snippets)
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/dllinit.cxx b/bridges/source/cpp_uno/msvc_win32_intel/dllinit.cxx
index 2e96e8478380..356f36092e31 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/dllinit.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/dllinit.cxx
@@ -18,8 +18,6 @@
*/
-
-
#pragma warning(push,1) // disable warnings within system headers
#include <windows.h>
#pragma warning(pop)
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/dllinit.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/dllinit.cxx
index 2e96e8478380..356f36092e31 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/dllinit.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/dllinit.cxx
@@ -18,8 +18,6 @@
*/
-
-
#pragma warning(push,1) // disable warnings within system headers
#include <windows.h>
#pragma warning(pop)
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index 08c198cec631..7de2d6c100a7 100644
--- a/bridges/source/jni_uno/jni_data.cxx
+++ b/bridges/source/jni_uno/jni_data.cxx
@@ -1152,7 +1152,6 @@ void Bridge::map_to_uno(
}
-
void Bridge::map_to_java(
JNI_context const & jni,
jvalue * java_data, void const * uno_data,
diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx
index a2e2367a98a0..74f02de996fd 100644
--- a/bridges/source/jni_uno/jni_info.cxx
+++ b/bridges/source/jni_uno/jni_info.cxx
@@ -56,7 +56,6 @@ JNI_type_info::JNI_type_info(
}
-
void JNI_interface_type_info::destroy( JNIEnv * jni_env )
{
JNI_type_info::destruct( jni_env );
@@ -222,7 +221,6 @@ JNI_interface_type_info::JNI_interface_type_info(
}
-
void JNI_compound_type_info::destroy( JNIEnv * jni_env )
{
JNI_type_info::destruct( jni_env );
@@ -344,7 +342,6 @@ JNI_compound_type_info::JNI_compound_type_info(
}
-
JNI_type_info const * JNI_info::create_type_info(
JNI_context const & jni, typelib_TypeDescription * td ) const
{
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx
index 14ea786dce43..d5280f40f1a7 100644
--- a/bridges/source/jni_uno/jni_java2uno.cxx
+++ b/bridges/source/jni_uno/jni_java2uno.cxx
@@ -87,7 +87,6 @@ jobject Bridge::map_to_java(
}
-
void Bridge::handle_uno_exc( JNI_context const & jni, uno_Any * uno_exc ) const
{
if (typelib_TypeClass_EXCEPTION == uno_exc->pType->eTypeClass)
diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx
index 1642c7e7aa8f..262893363aeb 100644
--- a/bridges/source/jni_uno/jni_uno2java.cxx
+++ b/bridges/source/jni_uno/jni_uno2java.cxx
@@ -479,7 +479,6 @@ inline void UNO_proxy::release() const
}
-
uno_Interface * Bridge::map_to_uno(
JNI_context const & jni,
jobject javaI, JNI_interface_type_info const * info ) const