summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptObject.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/core/sdr/RptObject.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/core/sdr/RptObject.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index bbfc0e47d41e..7a77b212e25e 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -568,7 +568,7 @@ bool OCustomShape::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
uno::Reference< beans::XPropertySet> OCustomShape::getAwtComponent()
{
- return uno::Reference< beans::XPropertySet>(m_xReportComponent,uno::UNO_QUERY);
+ return m_xReportComponent;
}
@@ -1072,7 +1072,7 @@ bool OOle2Obj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
uno::Reference< beans::XPropertySet> OOle2Obj::getAwtComponent()
{
- return uno::Reference< beans::XPropertySet>(m_xReportComponent,uno::UNO_QUERY);
+ return m_xReportComponent;
}