tdf#139781 Handle also "icon-name" property name

Change-Id: Iaf2c8521588bdf58daa3166b1efa27979eca2e1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110048
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit ed28902e2d2b8929617c92226be985e322147569)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110062
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/solenv/bin/uiimagelist.xsl b/solenv/bin/uiimagelist.xsl
index 3d14f8d..659d3b9 100644
--- a/solenv/bin/uiimagelist.xsl
+++ b/solenv/bin/uiimagelist.xsl
@@ -17,7 +17,7 @@

    <xsl:template match="@*|text()|processing-instruction()|comment()"/>

    <xsl:template match="property[@name='icon_name'] | property[@name='pixbuf']">
    <xsl:template match="property[@name='icon_name'] | property[@name='icon-name'] | property[@name='pixbuf']">
        <xsl:variable name="inpath" select="normalize-space(.)"/>
        <xsl:variable name="outpath">
            <xsl:choose>