summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/ViewsWindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:09:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 13:10:10 +0200
commit140b070bb187e3d5e35a588a1d187e3a40e11547 (patch)
tree2ccb2413f49ac733f49256bd335700732c6c4f6b /reportdesign/source/ui/report/ViewsWindow.cxx
parente1983485a83bb81d3675c429a2525f7969cc6169 (diff)
loplugin:referencecasting in reportdesign
Change-Id: I911bfc95f479d130052a51143dd3073287853a8f Reviewed-on: https://gerrit.libreoffice.org/75975 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/report/ViewsWindow.cxx')
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index b2083a95a8b1..47afcfe630fe 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -1263,7 +1263,7 @@ void OViewsWindow::EndDragObj(bool _bControlKeyPressed, const OSectionView* _pSe
if ( (pColIter+1) != pColEnd )
{
// bring aNewPos to the position of the next object
- uno::Reference< report::XReportComponent> xRCNext(*(pColIter + 1),uno::UNO_QUERY);
+ uno::Reference< report::XReportComponent> xRCNext = *(pColIter + 1);
Point aNextPosition = VCLPoint(xRCNext->getPosition());
aNewPos += aNextPosition - aPrevious;
}