diff --git a/browser/src/control/Control.NotebookbarCalc.js b/browser/src/control/Control.NotebookbarCalc.js index 507b7708d7e27..de3ee88ae9bfe 100644 --- a/browser/src/control/Control.NotebookbarCalc.js +++ b/browser/src/control/Control.NotebookbarCalc.js @@ -13,7 +13,7 @@ * L.Control.NotebookbarCalc - definition of notebookbar content in Calc */ -/* global _ _UNO app */ +/* global _ _UNO */ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({ getTabs: function() { @@ -2018,13 +2018,13 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({ 'command': '.uno:ParagraphDialog', 'accessibility': { focusBack: true, combination: 'PD', de: null } }, - app.isExperimentalMode() ? { + { 'id': 'format-style-dialog', 'type': 'bigtoolitem', 'text': _('Style list'), 'command': '.uno:SidebarDeck.StyleListDeck', 'accessibility': { focusBack: false, combination: 'SD', de: null } - } : {}, + }, { 'id': 'format-page-format-dialog', 'type': 'bigtoolitem', diff --git a/browser/src/control/Control.NotebookbarWriter.js b/browser/src/control/Control.NotebookbarWriter.js index e829628cadc7f..a22abf56d694e 100644 --- a/browser/src/control/Control.NotebookbarWriter.js +++ b/browser/src/control/Control.NotebookbarWriter.js @@ -13,7 +13,7 @@ * L.Control.NotebookbarWriter - definition of notebookbar content in Writer */ -/* global _ _UNO app */ +/* global _ _UNO */ var fileTabName = 'File'; var homeTabName = 'Home'; @@ -939,13 +939,13 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({ 'command': '.uno:ParagraphDialog', 'accessibility': { focusBack: false, combination: 'B', de: null } }, - app.isExperimentalMode() ? { + { 'id': 'format-style-dialog', 'type': 'bigtoolitem', 'text': _('Style list'), 'command': '.uno:SidebarDeck.StyleListDeck', 'accessibility': { focusBack: false, combination: 'SD', de: null } - } : {}, + }, { 'id': 'format-FormatBulletsMenu', 'type': 'menubutton',