summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-01-13 17:55:09 +0100
committerMichael Stahl <mst@openoffice.org>2010-01-13 17:55:09 +0100
commite646dde27ab190586ad123de14cfe870dc26aaae (patch)
tree954829cc7023556149d4fea208b7c3476e1a8091 /comphelper
parentf8ada8f2a93659e27928f3b5244c813de2c3847b (diff)
swunolocking1: #i108161#: WeakReferenceHelper:
Apple g++ 4.0.1 erroneously believes that it is ambiguous to use WeakReference<XInterface>::operator=(Reference<XInterface>). as a workaround, introduce WeakReferenceHelper::clear(), and fix all users.
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/weakeventlistener.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/weakeventlistener.hxx b/comphelper/inc/comphelper/weakeventlistener.hxx
index c6938e2b8423..045dfb169312 100644
--- a/comphelper/inc/comphelper/weakeventlistener.hxx
+++ b/comphelper/inc/comphelper/weakeventlistener.hxx
@@ -76,7 +76,7 @@ namespace comphelper
inline void resetListener( )
{
- m_aListener = ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >();
+ m_aListener.clear();
}