[Libreoffice-commits] online.git: loleaflet/dist

Aron Budea aron.budea at collabora.com
Wed Mar 15 05:18:45 UTC 2017


 loleaflet/dist/toolbar/toolbar.js |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 4a99210f97ce30eead381aa38943be69d9e4f81d
Author: Aron Budea <aron.budea at collabora.com>
Date:   Fri Mar 10 19:18:43 2017 +0100

    loleaflet: Don't clear ids in unoCmdToToolbarId(...)
    
    Since 40307955841b070483736117d41b9dff88013cfb spreadsheets
    start with Undo/Redo/Doc. Repair buttons enabled, because
    of this.
    
    Change-Id: I20a22f483324289435825c3514894389176f57f3
    Reviewed-on: https://gerrit.libreoffice.org/35056
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 19b86f4..04e7011 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -735,8 +735,6 @@ function unoCmdToToolbarId(commandname)
 		case 'alignright':
 			id = 'rightpara';
 			break;
-		default:
-			id = null;
 		}
 	}
 	return id;


More information about the Libreoffice-commits mailing list