summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorKristian Rietveld <kris@lanedo.com>2011-10-22 10:16:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-24 17:29:34 +0200
commit93ef7cab14049576cdd24d2f749ef32c72c85ca9 (patch)
tree4cc1e39fae0be725ad31481035c6add72db06c68 /reportdesign
parent7d6097410cc18771112aa3aa4c7355e484f36628 (diff)
Eliminate ambiguous conversion to cppu::OWeakObject
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/sdr/ReportDrawPage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/ReportDrawPage.cxx b/reportdesign/source/core/sdr/ReportDrawPage.cxx
index d34b72de3722..aa2f6ffd132c 100644
--- a/reportdesign/source/core/sdr/ReportDrawPage.cxx
+++ b/reportdesign/source/core/sdr/ReportDrawPage.cxx
@@ -93,7 +93,7 @@ uno::Reference< drawing::XShape > OReportDrawPage::_CreateShape( SdrObject *pOb
else
bChangeOrientation = pUnoObj->GetObjIdentifier() == OBJ_DLG_HFIXEDLINE;
SvxShapeControl* pShape = new SvxShapeControl( pObj );
- xShape.set(*pShape,uno::UNO_QUERY);
+ xShape.set(static_cast<cppu::OWeakObject*>(static_cast<SvxShape_UnoImplHelper *>(pShape)),uno::UNO_QUERY);
pShape->setShapeKind(pObj->GetObjIdentifier());
}
else if ( pObj->ISA(OCustomShape) )