From 6660b9d2c57e90ecd77de3eb02bcd2a9f4518684 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Tue, 25 Feb 2014 17:44:54 +0100 Subject: Remove visual noise from bridges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65 Reviewed-on: https://gerrit.libreoffice.org/8237 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx | 3 +-- bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx | 4 ---- bridges/source/cpp_uno/gcc3_linux_ia64/share.hxx | 4 +--- bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx | 3 +-- 4 files changed, 3 insertions(+), 11 deletions(-) (limited to 'bridges/source/cpp_uno/gcc3_linux_ia64') diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx index e3ece108f8b0..4a8723ec861f 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx @@ -36,7 +36,7 @@ using namespace ::com::sun::star::uno; namespace { -//================================================================================================== + static typelib_TypeClass cpp2uno_call( bridges::cpp_uno::shared::CppInterfaceProxy * pThis, const typelib_TypeDescription * pMemberTypeDescr, @@ -303,7 +303,6 @@ static typelib_TypeClass cpp2uno_call( } -//================================================================================================== static typelib_TypeClass cpp_mediate( sal_uInt64 nOffsetAndIndex, void ** gpreg, void ** fpreg, long sp, long r8, diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx index 6c78eb18be25..daf6daf57a7f 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx @@ -50,7 +50,6 @@ void dummy_can_throw_anything( char const * ) { } -//================================================================================================== static OUString toUNOname( char const * p ) SAL_THROW(()) { #if OSL_DEBUG_LEVEL > 1 @@ -88,7 +87,6 @@ static OUString toUNOname( char const * p ) SAL_THROW(()) #endif } -//================================================================================================== class RTTI { typedef boost::unordered_map< OUString, type_info *, OUStringHash > t_rtti_map; @@ -210,7 +208,6 @@ static void deleteException( void * pExc ) } } -//================================================================================================== void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) { void * pCppExc; @@ -254,7 +251,6 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) __cxa_throw( pCppExc, rtti, deleteException ); } -//================================================================================================== void fillUnoException( __cxa_exception * header, uno_Any * pExc, uno_Mapping * pCpp2Uno ) { OSL_ENSURE( header, "### no exception header!!!" ); diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/share.hxx b/bridges/source/cpp_uno/gcc3_linux_ia64/share.hxx index ecfa126d5252..3f77f71e75e8 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/share.hxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/share.hxx @@ -73,12 +73,10 @@ struct __cxa_eh_globals }; extern "C" __cxa_eh_globals *__cxa_get_globals () throw(); -// ----- -//================================================================================================== void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ); -//================================================================================================== + void fillUnoException( __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno ); } diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx index 177be5224b2e..a47ca67250ba 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx @@ -149,7 +149,7 @@ namespace ia64 namespace { -//================================================================================================== + static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex, void * pRegisterReturn, typelib_TypeDescription * pReturnTypeDescr, bool bSimpleReturn, sal_uInt64 *pStack, sal_uInt32 nStack, @@ -296,7 +296,6 @@ static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex, if (bOverFlow) \ *pDS++ = *reinterpret_cast( pSV ); -//================================================================================================== static void cpp_call( bridges::cpp_uno::shared::UnoInterfaceProxy * pThis, bridges::cpp_uno::shared::VtableSlot aVtableSlot, -- cgit