summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propshlp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 51f336999050..a14cf6010aa8 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -235,7 +235,7 @@ css::uno::Sequence< css::uno::Type > OPropertySetHelper::getTypes()
void OPropertySetHelper::disposing()
{
// Create an event with this as sender
- Reference < XPropertySet > rSource( static_cast< XPropertySet * >(this), UNO_QUERY );
+ Reference < XPropertySet > rSource = this;
EventObject aEvt;
aEvt.Source = rSource;