diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2001-03-20 14:14:58 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2001-03-20 14:14:58 +0000 |
commit | 20e5dfa38c20451b85bfd1438df64ab5dcafa80c (patch) | |
tree | 0f943d0a17e9613b6741370d20d6974fde5ac67a /cppu | |
parent | e1e28ab9a12b3d03281dce97c86a2031231d57b9 (diff) |
avoid compile failure in copyctor in case that the interface type is only forward declared
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/inc/com/sun/star/uno/Reference.hxx | 6 |
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 0cfa7644a80b..dfd181a805d9 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.8 $ + * $Revision: 1.9 $ * - * last change: $Author: dbo $ $Date: 2001-03-16 16:34:33 $ + * last change: $Author: jbu $ $Date: 2001-03-20 15:14:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -148,7 +148,7 @@ inline Reference< interface_type >::Reference() SAL_THROW( () ) template< class interface_type > inline Reference< interface_type >::Reference( const Reference< interface_type > & rRef ) SAL_THROW( () ) { - _pInterface = rRef.get(); + _pInterface = rRef._pInterface; if (_pInterface) _pInterface->acquire(); } |