summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptObject.cxx
diff options
context:
space:
mode:
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;
}