diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 09:52:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-19 11:47:47 +0200 |
commit | e6d23c144ccadbd962b5dfb953bf29e49a7f64a3 (patch) | |
tree | e0b0176fc3f4c08049cd72ef1ea4d24da02f0766 /cppuhelper | |
parent | 6dfc659c5e468ad969291ad39085b9c3ec53bcac (diff) |
loplugin:referencecasting in cppcanvas..cui
Change-Id: Ib8a513d88575cef9c1479b91adff98170c9323e8
Reviewed-on: https://gerrit.libreoffice.org/75937
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 2 |
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; |