[Libreoffice] [PATCH] [PUSHED] Eliminate ambiguous conversion to cppu::OWeakObject (in reportdesign)

Stephan Bergmann sbergman at redhat.com
Mon Oct 24 08:36:59 PDT 2011


On 10/22/2011 11:48 AM, Kristian Rietveld wrote:
> This fixes the following error:
>
> /source/libo/libo/reportdesign/source/core/sdr/ReportDrawPage.cxx:96:24:
> error: ambiguous conversion from derived class 'SvxShapeControl' to base
> class 'cppu::OWeakObject':
> class SvxShapeControl -> class SvxShapeText -> class SvxShape ->
> SvxShape_UnoImplHelper -> class cppu::OWeakAggObject -> ::cppu::OWeakObject
> class SvxShapeControl -> class SvxShapeText -> class SvxUnoTextBase ->
> class SvxUnoTextBase_Base -> SvxUnoTextBase_Base0 -> class
> SvxUnoTextRangeBase -> SvxUnoTextRangeBase_Base -> class
> cppu::OWeakAggObject -> ::cppu::OWeakObject
> xShape.set(*pShape,uno::UNO_QUERY);
> ^~~~~~~

pushed

Stephan


More information about the LibreOffice mailing list