<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Adapt supportsService implementations to cppu::supportsService"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54938#c35">Comment # 35</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Adapt supportsService implementations to cppu::supportsService"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54938">bug 54938</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=54938#c34">comment #34</a>)
<span class="quote">> sal_Bool SAL_CALL FilterBase::supportsService( const OUString& rServiceName
> ) throw( RuntimeException )
> {
> return
> (rServiceName == "com.sun.star.document.ImportFilter" ) ||
> (rServiceName == "com.sun.star.document.ExportFilter" );
> }</span >
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>