<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Improve typedef support in generated C++ headers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132296">132296</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Improve typedef support in generated C++ headers
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>sdk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>straub@sb-software.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>cppumaker resolves typedefs in generated header files when defining typedefs in
.idl files:
typedef long XLongTypedef
typedef sequence<XLongTypedef> XLongSequenceTypedef
typedef XKeyValue XStructTypedef
typedef sequence<XStructTypedef> XStructSequenceTypedef

generated .hdl files contain:
typedef ::css::uno::Sequence< ::sal_Int32 > XLongSequenceTypedef;
typedef ::css::uno::Sequence< XKeyValue > XStructSequenceTypedef;

It would be better to generate the following, ie. avoid unrolling the typedef:
typedef ::css::uno::Sequence< XongTypedef > XLongSequenceTypedef;
typedef ::css::uno::Sequence< XStructTypedef > XStructSequenceTypedef;

Method declarations could also benefit:
idl: XLongTypedef aMethod([in] XLongSequenceTypedef arg)

currently results in the following .hdl declaration:
::sal_Int32 aMethod(const Sequence<::sal_Int32>& arg)

but this one would be nicer:
XLongTypdef aMethod(const XLongSequenceTypedef& arg)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>