summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_powerpc
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 17:44:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 05:21:45 -0600
commit6660b9d2c57e90ecd77de3eb02bcd2a9f4518684 (patch)
treee18d4ab053b21545738ca11e54d1438aec44e8e5 /bridges/source/cpp_uno/gcc3_linux_powerpc
parent875129a8d4eca6b8ac184c4ae3539ffce8194e39 (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_powerpc')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx3
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx5
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/share.hxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx4
4 files changed, 3 insertions, 13 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
index a04c1e2b9261..ae844a76e6b7 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
@@ -349,7 +349,6 @@ static typelib_TypeClass cpp2uno_call(
}
-//==================================================================================================
static typelib_TypeClass cpp_mediate(
sal_Int32 nFunctionIndex,
sal_Int32 nVtableOffset,
@@ -485,7 +484,6 @@ static typelib_TypeClass cpp_mediate(
return eRet;
}
-//==================================================================================================
/**
* is called on incoming vtable calls
* (called by asm snippets)
@@ -631,7 +629,6 @@ unsigned char * codeSnippet( unsigned char * code, sal_Int32 functionIndex, sal
// if no dedicated floating point registers are used than we have NULL
// pointer there
// li r6, 0
- //
// #now load up the pointer to the overflow call stack
// addi r7,r1,8
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
index 6c78eb18be25..e9d6c33f7681 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/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,7 @@ static void deleteException( void * pExc )
}
}
-//==================================================================================================
+
void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
{
void * pCppExc;
@@ -254,7 +252,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_powerpc/share.hxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/share.hxx
index 0bc37f6ad4bf..ecd95eecad19 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/share.hxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/share.hxx
@@ -72,12 +72,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_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
index bb3061138123..1491cec669cb 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
@@ -38,7 +38,6 @@ namespace
{
-//==================================================================================================
static void callVirtualMethod(
void * pAdjustedThisPtr,
sal_Int32 nVtableIndex,
@@ -114,7 +113,7 @@ static void callVirtualMethod(
// now we need to parse the entire signature string */
// until we get the END indicator */
- // treat complex return pointer like any other parameter //
+ // treat complex return pointer like any other parameter
#if 0
/* Let's figure out what is really going on here*/
@@ -327,7 +326,6 @@ static void callVirtualMethod(
}
-//==================================================================================================
static void cpp_call(
bridges::cpp_uno::shared::UnoInterfaceProxy * pThis,
bridges::cpp_uno::shared::VtableSlot aVtableSlot,