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

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 29 05:27:02 UTC 2020


 loleaflet/src/control/Control.JSDialogBuilder.js |   23 -----------------------
 1 file changed, 23 deletions(-)

New commits:
commit 87ae6340050e60d467379c190ffc5f7623ae7e5b
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Mon Apr 27 17:22:10 2020 +0530
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Apr 29 07:26:44 2020 +0200

    leaflet: resolved shape fill displaying incorrect style
    
    in mobile wizard shape fill displayed pattern even when selected bitmap
    
    Change-Id: I0fb5bf85d9344128bdb59dad849561dba7d28458
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93000
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 4b8138933..a9a4fd1aa 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -997,29 +997,6 @@ L.Control.JSDialogBuilder = L.Control.extend({
 			}
 			break;
 
-		case 'fillstylearea':
-			state = items.getItemValue('.uno:FillStyle');
-			if (state) {
-				switch (state) {
-				case 'NONE':
-					return _('None');
-
-				case 'SOLID':
-					return _('Color');
-
-				case 'GRADIENT':
-					return _('Gradient');
-
-				case 'HATCH':
-					return _('Hatching');
-
-				case 'BITMAP':
-					// FIXME: can be bitmap or pattern, for now we cant import bitmap
-					return _('Pattern');
-				}
-			}
-			break;
-
 		case 'fillattr':
 			state = items.getItemValue('.uno:FillPageColor');
 			if (state) {


More information about the Libreoffice-commits mailing list