diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-23 21:06:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-25 08:37:17 +0100 |
commit | b7a1e92a27bc26f222526eb50ab80c0e6966be7a (patch) | |
tree | 4f3825cc2f483e4576d1e3849a759b73fdc969f9 /chart2/source/tools/ChartViewHelper.cxx | |
parent | Convert gentoken from Perl to Python. (diff) | |
download | core-b7a1e92a27bc26f222526eb50ab80c0e6966be7a.tar.gz core-b7a1e92a27bc26f222526eb50ab80c0e6966be7a.zip |
loplugin:referencecasting
getting --enable-pch=normal working with clang
means that the plugins now have a better view on some
stuff, so trigger more warnings
Change-Id: I83ca010c0ef07c8106068362bb50a354e3cf7dae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89312
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/ChartViewHelper.cxx')
-rw-r--r-- | chart2/source/tools/ChartViewHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ChartViewHelper.cxx b/chart2/source/tools/ChartViewHelper.cxx index 0e8332b71750..872960f17e41 100644 --- a/chart2/source/tools/ChartViewHelper.cxx +++ b/chart2/source/tools/ChartViewHelper.cxx @@ -41,7 +41,7 @@ void ChartViewHelper::setViewToDirtyState( const uno::Reference< frame::XModel > xFact->createInstance( CHART_VIEW_SERVICE_NAME ), uno::UNO_QUERY ); if( xModifyListener.is() ) { - lang::EventObject aEvent( Reference< lang::XComponent >( xChartModel, uno::UNO_QUERY ) ); + lang::EventObject aEvent( xChartModel ); xModifyListener->modified( aEvent ); } } |