diff options
Diffstat (limited to 'cppuhelper/source/weak.cxx')
-rw-r--r-- | cppuhelper/source/weak.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index 65018b7d75ec..57ae161f50ed 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -109,7 +109,7 @@ void SAL_CALL OWeakConnectionPoint::dispose() throw(::com::sun::star::uno::Runti { try { - ((XReference *)aIt.next())->dispose(); + static_cast<XReference *>(aIt.next())->dispose(); } catch (com::sun::star::lang::DisposedException &) {} catch (RuntimeException &) |