summaryrefslogtreecommitdiff
path: root/cppuhelper/inc/cppuhelper/weak.hxx
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2002-11-18 08:59:15 +0000
committerDaniel Boelzle <dbo@openoffice.org>2002-11-18 08:59:15 +0000
commit0c38ca4412531adafdb9cbac9dfa7f6f8e0d9882 (patch)
tree31dab52e83ec00b11848b5d4fb168377e4637641 /cppuhelper/inc/cppuhelper/weak.hxx
parent49e942a32d02b0709ae2db1a5efc29455b90a303 (diff)
#104560# outlining of msvc mapfile symbols
Diffstat (limited to 'cppuhelper/inc/cppuhelper/weak.hxx')
-rw-r--r--cppuhelper/inc/cppuhelper/weak.hxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/cppuhelper/inc/cppuhelper/weak.hxx b/cppuhelper/inc/cppuhelper/weak.hxx
index 2ea80128a5c7..64779b365c9e 100644
--- a/cppuhelper/inc/cppuhelper/weak.hxx
+++ b/cppuhelper/inc/cppuhelper/weak.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: weak.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $
+ * last change: $Author: dbo $ $Date: 2002-11-18 09:59:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -138,12 +138,19 @@ public:
inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW( () )
{}
- /** Constructor. Set the reference count to zero.
+#ifdef _MSC_VER
+ /** Default Constructor. Sets the reference count to zero.
+ Accidentally occurs in msvc mapfile = > had to be outlined.
+ */
+ OWeakObject() SAL_THROW( () );
+#else
+ /** Default Constructor. Sets the reference count to zero.
*/
inline OWeakObject() SAL_THROW( () )
: m_refCount( 0 )
, m_pWeakConnectionPoint( 0 )
{}
+#endif
/** Dummy copy constructor. Set the reference count to zero.
@param rObj dummy param