[Libreoffice] [PATCH] Also use .NET2003 build fix for Clang (in toolkit)
Kristian Rietveld
kris at lanedo.com
Sat Oct 22 02:47:10 PDT 2011
This "fixes" the following error:
/source/libo/libo/toolkit/source/awt/vclxsplitter.cxx:114:32: error:
ambiguous conversion from derived class 'layoutimpl::VCLXSplitter' to
base class 'cppu::OWeakObject':
class layoutimpl::VCLXSplitter -> class VCLXWindow ->
VCLXWindow_Base ->
class VCLXDevice -> ::cppu::OWeakObject
class layoutimpl::VCLXSplitter -> class layoutimpl::Box_Base -> class
layoutimpl::Container -> Container_Base -> class cppu::OWeakObject
class layoutimpl::VCLXSplitter -> class layoutimpl::Box_Base ->
class layoutimpl::Container -> class layoutimpl::PropHelper ->
cppu::OWeakObject
aDisposeEvent.Source = W3K_EXPLICIT_CAST (*this);
^~~~~~~~~~~~~~~~~~~~~~~~~
By far the quickest is to use the already existing fix for .NET2003 for
clang as well. In the future, this is something that possibly should be
avoided in the class hierarchy, there are more classes in the code base
that expose a similar problem.
(Please keep me on CC as I am not subscribed to this list).
regards,
-kris.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0006-Also-use-.NET2003-build-fix-for-Clang.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111022/dc2936f4/attachment.asc>
More information about the LibreOffice
mailing list