diff options
author | Kristian Rietveld <kris@lanedo.com> | 2011-10-22 10:16:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-24 17:29:34 +0200 |
commit | 93ef7cab14049576cdd24d2f749ef32c72c85ca9 (patch) | |
tree | 4cc1e39fae0be725ad31481035c6add72db06c68 /reportdesign | |
parent | Use NSString in template specification instead of objc_object (diff) | |
download | core-93ef7cab14049576cdd24d2f749ef32c72c85ca9.tar.gz core-93ef7cab14049576cdd24d2f749ef32c72c85ca9.zip |
Eliminate ambiguous conversion to cppu::OWeakObject
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/sdr/ReportDrawPage.cxx | 2 |
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) ) |