<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - Adapt supportsService implementations to cppu::supportsService"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54938#c57">Comment # 57</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - 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#c55">comment #55</a>)
<span class="quote">> I'm trying to adjust PopupMenuToolbarController
> (framework/source/uielement/popuptoolbarcontroller.cxx), but I'm getting
> some errors.</span >

There's two potential approaches.

First, check whether all derivatives of svt::ToolboxController are
implementations of UNO services, so should all implement
css::uno::XServiceInfo, so include that directly in svt::ToolboxController_Base
(cf.
<<a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=307684b2c735947e81aa061b8e16fa197fc15857">http://cgit.freedesktop.org/libreoffice/core/commit/?id=307684b2c735947e81aa061b8e16fa197fc15857</a>>
"Clean-up svt::ToolboxController inheritance").

Or, if that's not feasible, use cppu::ImplInheritanceHelper1
(cppuhelper/implbase1.hxx) to derive framework::PopupMenuToolbarController from
both svt::ToolboxController and css::uno::XServiceInfo.</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>