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

--- Comment #41 from Alexandre Vicenzi <vicenzi.alexan...@gmail.com> ---
(In reply to comment #35)
> (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?

It's OK. I forgot to check getSupportedServiceNames.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to