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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 31 02:10:56 PST 2014


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

--- Comment #35 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to comment #34)
> sal_Bool SAL_CALL FilterBase::supportsService( const OUString& rServiceName
> ) throw( RuntimeException )
> {
>    return
>    (rServiceName == "com.sun.star.document.ImportFilter" ) ||
>    (rServiceName == "com.sun.star.document.ExportFilter" );
> }

Please always give a pointer to the relevant file, apparently
oox/source/core/filterbase.cxx in this case.

As currrent FilterBase::supportsService behavior is in line with
FilterBase::getSupportedServiceNames behavior (defined just afterwards), the
usual approach of forwarding to cppu::supportsService just works here.  Or what
am I missing?

-- 
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/20140131/c1365a3a/attachment.html>


More information about the LibreOffice mailing list