VirtualBox

Changeset 94372 in vbox for trunk


Ignore:
Timestamp:
Mar 25, 2022 3:31:12 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: COMWrappers.xsl: Don't treat @safearray as optional (#IMPLIED), it defaults to 'no'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMWrappers.xsl

    r82969 r94372  
    15441544    <!-- modifiers -->
    15451545    <xsl:when test="name(current())='type' and ../@mod">
    1546       <xsl:if test="../@safearray and ../@mod='ptr'">
     1546      <xsl:if test="../@safearray='yes' and ../@mod='ptr'">
    15471547        <xsl:message terminate="yes">
    15481548          <xsl:value-of select="concat(../../../@name,'::',../../@name,'::',../@name,': ')"/>
     
    15751575        </xsl:when>
    15761576        <xsl:when test="../@mod='string'">
    1577           <xsl:if test="../@safearray">
     1577          <xsl:if test="../@safearray='yes'">
    15781578            <xsl:text>QVector&lt;</xsl:text>
    15791579          </xsl:if>
     
    15921592            </xsl:otherwise>
    15931593          </xsl:choose>
    1594           <xsl:if test="../@safearray">
     1594          <xsl:if test="../@safearray='yes'">
    15951595            <xsl:text>&gt;</xsl:text>
    15961596          </xsl:if>
     
    16071607    <!-- no modifiers -->
    16081608    <xsl:otherwise>
    1609       <xsl:if test="../@safearray">
     1609      <xsl:if test="../@safearray='yes'">
    16101610        <xsl:text>QVector&lt;</xsl:text>
    16111611      </xsl:if>
     
    16421642        </xsl:otherwise>
    16431643      </xsl:choose>
    1644       <xsl:if test="../@safearray">
     1644      <xsl:if test="../@safearray='yes'">
    16451645        <xsl:text>&gt;</xsl:text>
    16461646      </xsl:if>
     
    16581658  <xsl:choose>
    16591659    <!-- safearrays don't need initializers -->
    1660     <xsl:when test="../@safearray">
     1660    <xsl:when test="../@safearray='yes'">
    16611661    </xsl:when>
    16621662    <!-- modifiers -->
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette