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

New commits:
commit fbfd500a2ec2d3425903c002c63f1a73f20d152a
Author: Henry Castro <hcas...@collabora.com>
Date:   Wed Oct 12 21:51:48 2016 -0400

    loleaflet: fix style names in Layout dropdown

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index 11281f5..4f2b649 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -839,11 +839,9 @@ map.on('commandstatechanged', function (e) {
                        return;
                }
 
-               // For impress documents, template name is prefixed with style 
name.
-               // Strip the template name until we support it
+               // For impress documents, no styles is supported.
                if (map.getDocType() === 'presentation') {
-                       state = state.split('~LT~')[1];
-                       state = L.Styles.impressMapping[state];
+                       return;
                }
 
                $('.styles-select option').each(function () {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to