[Libreoffice-commits] online.git: loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Nov 29 12:44:39 UTC 2019
loleaflet/src/control/Control.JSDialogBuilder.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5998fe23d488f581e7cfbbf5198e60ffd56da15e
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Nov 28 14:21:56 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Nov 29 13:43:32 2019 +0100
jsdialog: migrate after/before spacing to generic items dump
Change-Id: I16504c8910f270c45f8c46843bdcebf7e50c3f70
Reviewed-on: https://gerrit.libreoffice.org/84050
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Tested-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 f17405efe..5cd483b04 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -609,13 +609,13 @@ L.Control.JSDialogBuilder = L.Control.extend({
case 'aboveparaspacing':
state = items.getItemValue('.uno:ULSpacing');
if (state)
- return JSON.parse(state).upper.replace(',', '.');
+ return state.upper.replace(',', '.');
break;
case 'belowparaspacing':
state = items.getItemValue('.uno:ULSpacing');
if (state)
- return JSON.parse(state).lower.replace(',', '.');
+ return state.lower.replace(',', '.');
break;
case 'rowheight':
More information about the Libreoffice-commits
mailing list