diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 17:44:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-01 05:21:45 -0600 |
commit | 6660b9d2c57e90ecd77de3eb02bcd2a9f4518684 (patch) | |
tree | e18d4ab053b21545738ca11e54d1438aec44e8e5 /bridges/source/cpp_uno/gcc3_linux_sparc | |
parent | 875129a8d4eca6b8ac184c4ae3539ffce8194e39 (diff) |
Remove visual noise from bridges
Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65
Reviewed-on: https://gerrit.libreoffice.org/8237
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_sparc')
4 files changed, 2 insertions, 11 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx index b014fe1726c9..b4fddaa28dbc 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx @@ -30,7 +30,7 @@ using namespace com::sun::star::uno; namespace { -//================================================================================================== + static typelib_TypeClass cpp2uno_call( bridges::cpp_uno::shared::CppInterfaceProxy * pThis, const typelib_TypeDescription * pMemberTypeDescr, @@ -217,7 +217,6 @@ static typelib_TypeClass cpp2uno_call( } -//================================================================================================== static typelib_TypeClass cpp_mediate( sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset, @@ -349,7 +348,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_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx index b815b54a1607..d238c94e8c86 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx @@ -49,7 +49,6 @@ void dummy_can_throw_anything( char const * ) { } -//================================================================================================== static OUString toUNOname( char const * p ) SAL_THROW(()) { #if defined BRIDGES_DEBUG @@ -87,7 +86,6 @@ static OUString toUNOname( char const * p ) SAL_THROW(()) #endif } -//================================================================================================== class RTTI { typedef boost::unordered_map< OUString, type_info *, OUStringHash > t_rtti_map; @@ -209,7 +207,6 @@ static void deleteException( void * pExc ) } } -//================================================================================================== void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) { #if defined BRIDGES_DEBUG @@ -270,7 +267,6 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) __cxa_throw( pCppExc, rtti, deleteException ); } -//================================================================================================== void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping * pCpp2Uno ) { if (! header) diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/share.hxx b/bridges/source/cpp_uno/gcc3_linux_sparc/share.hxx index 46fc93a67790..7299b9f434cf 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/share.hxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/share.hxx @@ -66,10 +66,9 @@ 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_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx index def4e8d90d09..24be4a0a2315 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx @@ -32,7 +32,6 @@ using namespace com::sun::star::uno; namespace { -//================================================================================================== // The call instruction within the asm section of callVirtualMethod may throw // exceptions. So that the compiler handles this correctly, it is important // that (a) callVirtualMethod might call dummy_can_throw_anything (although this @@ -271,7 +270,6 @@ void callVirtualMethod( void * pAdjustedThisPtr, } } -//================================================================================================= static void cpp_call( bridges::cpp_uno::shared::UnoInterfaceProxy * pThis, bridges::cpp_uno::shared::VtableSlot aVtableSlot, |