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_x86-64/cpp2uno.cxx | |
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_x86-64/cpp2uno.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
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 3d773d08144e..175697764892 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx @@ -42,7 +42,7 @@ using namespace ::osl; using namespace ::rtl; using namespace ::com::sun::star::uno; -//================================================================================================== + // Perform the UNO call // @@ -252,7 +252,6 @@ static typelib_TypeClass cpp2uno_call( } -//================================================================================================== extern "C" typelib_TypeClass cpp_vtable_call( sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset, void ** gpreg, void ** fpreg, void ** ovrflw, @@ -386,7 +385,6 @@ extern "C" typelib_TypeClass cpp_vtable_call( return eRet; } -//================================================================================================== extern "C" void privateSnippetExecutor( ... ); const int codeSnippetSize = 24; @@ -430,7 +428,6 @@ unsigned char * codeSnippet( unsigned char * code, return code + codeSnippetSize; } -//================================================================================================== struct bridges::cpp_uno::shared::VtableFactory::Slot { void * fn; }; bridges::cpp_uno::shared::VtableFactory::Slot * @@ -439,14 +436,12 @@ bridges::cpp_uno::shared::VtableFactory::mapBlockToVtable(void * block) return static_cast< Slot * >(block) + 2; } -//================================================================================================== sal_Size bridges::cpp_uno::shared::VtableFactory::getBlockSize( sal_Int32 slotCount) { return (slotCount + 2) * sizeof (Slot) + slotCount * codeSnippetSize; } -//================================================================================================== bridges::cpp_uno::shared::VtableFactory::Slot * bridges::cpp_uno::shared::VtableFactory::initializeBlock( void * block, sal_Int32 slotCount) @@ -457,7 +452,7 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock( return slots + slotCount; } -//================================================================================================== + unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( Slot ** slots, unsigned char * code, sal_PtrDiff writetoexecdiff, @@ -507,7 +502,6 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( return code; } -//================================================================================================== void bridges::cpp_uno::shared::VtableFactory::flushCode( SAL_UNUSED_PARAMETER unsigned char const *, SAL_UNUSED_PARAMETER unsigned char const * ) |