<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#c41">Comment # 41</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:vicenzi.alexandre@gmail.com" title="Alexandre Vicenzi <vicenzi.alexandre@gmail.com>"> <span class="fn">Alexandre Vicenzi</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=54938#c35">comment #35</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=54938#c34">comment #34</a>)
> > 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?</span >

It's OK. I forgot to check getSupportedServiceNames.</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>