summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 13:56:11 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 13:56:11 +0000
commit5a757546818c05891d24441a4b2d26bf87c03810 (patch)
tree1daecc6edfb4de2f406ba20c70dbaee8c811d65b /bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
parent945cd0606312fbebcf472b3136acdafb7eb9d7fd (diff)
INTEGRATION: CWS geordi2q01 (1.2.36); FILE MERGED
2003/08/18 12:45:32 hr 1.2.36.1: #i18350#: join changes from CWS ooo11rc3
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
index 4cbeb2039a6a..30bc7055e58e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: uno2cpp.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-04-28 16:29:07 $
+ * last change: $Author: hjs $ $Date: 2003-08-18 14:56:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -82,6 +82,8 @@ using namespace com::sun::star::uno;
namespace CPPU_CURRENT_NAMESPACE
{
+void dummy_can_throw_anything( char const * );
+
//==================================================================================================
static void callVirtualMethod( void * pThis,
sal_Int32 nVtableIndex,
@@ -98,6 +100,9 @@ static void callVirtualMethod( void * pThis,
(sizeof(sal_Int32) == 4), "### unexpected size of int!" );
OSL_ENSURE( nStackLongs && pStackLongs, "### no stack in callVirtualMethod !" );
+ // never called
+ if (! pThis) dummy_can_throw_anything("xxx"); // address something
+
volatile long o0 = 0, o1 = 0; // for register returns
volatile double f0d = 0;
volatile float f0f = 0;