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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 6 04:46:19 PST 2014


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

--- Comment #51 from Alexandre Vicenzi <vicenzi.alexandre at gmail.com> ---
Stephan,

And about this case? 

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

-- 
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/9dd0726a/attachment.html>


More information about the LibreOffice mailing list