summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 15:57:54 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 15:57:54 +0000
commit77a5fe7b00aaf11a43b5d987cc391054bd58a8e7 (patch)
tree4610ffd5daeb709e8c80ab93faa295251ef1bd3b /cppu
parentfbbeecb3fd3cf8fafb1365d2556216e740741c21 (diff)
INTEGRATION: CWS sb14 (1.18.6); FILE MERGED
2004/03/04 10:49:43 sb 1.18.6.1: #i21150# Missing reinterpret_cast to disambiguate multiple-inheritance calls to acquire().
Diffstat (limited to 'cppu')
-rw-r--r--cppu/inc/com/sun/star/uno/Reference.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/inc/com/sun/star/uno/Reference.hxx b/cppu/inc/com/sun/star/uno/Reference.hxx
index 21089656f6e2..6ce30b26083e 100644
--- a/cppu/inc/com/sun/star/uno/Reference.hxx
+++ b/cppu/inc/com/sun/star/uno/Reference.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Reference.hxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: hr $ $Date: 2004-02-03 12:15:32 $
+ * last change: $Author: rt $ $Date: 2004-03-30 16:57:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -229,7 +229,7 @@ inline sal_Bool Reference< interface_type >::set(
interface_type * pInterface ) SAL_THROW( () )
{
if (pInterface)
- pInterface->acquire();
+ reinterpret_cast< XInterface * >(pInterface)->acquire();
if (_pInterface)
_pInterface->release();
_pInterface = reinterpret_cast< XInterface * >(pInterface);