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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 6 05:32:26 PST 2014


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

--- Comment #52 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to comment #51)
> WizardsToolbarController doesn't inherit from XServiceInfo too, and I get
> some problems when I tried to add XServiceInfo.
> 
> css::uno::Sequence<OUString>
> WizardsToolbarController::getSupportedServiceNames()
> throw (css::uno::RuntimeException)
> {
>     css::uno::Sequence< OUString > aRet(1);
>     OUString* pArray = aRet.getArray();
>     pArray[0] = "com.sun.star.frame.ToolbarController";
>     return aRet;
> }
> 
> in framework/source/uielement/popuptoolbarcontroller.cxx

Yes, looks like all those derivatives of PopupMenuToolbarController erroneously
fail to inherit from 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/20140206/cc987f35/attachment.html>


More information about the LibreOffice mailing list