This is not needed anymore.

Change-Id: I61c1e8eada01491ccdf1a43e030ec8d7229d9680
Reviewed-on: https://gerrit.libreoffice.org/84663
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
Tamás Zolnai 2019-12-06 18:54:26 +01:00
parent b36d56bf5b
commit a184b2b812

View file

@ -1399,7 +1399,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
var icon = null;
var commandName = data.command ? data.command.substring('.uno:'.length) : data.id;
if (commandName && commandName.length && L.LOUtil.existsIconForCommand(commandName)) {
if (commandName && commandName.length) {
var iconSpan = L.DomUtil.create('span', 'menu-entry-icon ' + commandName.toLowerCase(), menuEntry);
var iconPath = 'images/lc_' + commandName.toLowerCase() + '.svg';
icon = L.DomUtil.create('img', '', iconSpan);