[Bug 54938] Adapt supportsService implementations to cppu::supportsService

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 12 12:18:46 CET 2014


https://bugs.freedesktop.org/show_bug.cgi?id=54938

--- Comment #57 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to comment #55)
> I'm trying to adjust PopupMenuToolbarController
> (framework/source/uielement/popuptoolbarcontroller.cxx), but I'm getting
> some errors.

There's two potential approaches.

First, check whether all derivatives of svt::ToolboxController are
implementations of UNO services, so should all implement
css::uno::XServiceInfo, so include that directly in svt::ToolboxController_Base
(cf.
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=307684b2c735947e81aa061b8e16fa197fc15857>
"Clean-up svt::ToolboxController inheritance").

Or, if that's not feasible, use cppu::ImplInheritanceHelper1
(cppuhelper/implbase1.hxx) to derive framework::PopupMenuToolbarController from
both svt::ToolboxController and css::uno::XServiceInfo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140212/fc9a670b/attachment.html>


More information about the LibreOffice mailing list