summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/menubarmanager.cxx3
-rw-r--r--framework/source/uielement/toolbarmanager.cxx3
-rw-r--r--framework/source/uielement/toolbarmodemenucontroller.cxx4
3 files changed, 6 insertions, 4 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 27f5ae2931e2..cff2f23a2178 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -44,6 +44,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
+#include <officecfg/Office/Common.hxx>
#include <svtools/menuoptions.hxx>
#include <svtools/javainteractionhandler.hxx>
#include <uno/current_context.hxx>
@@ -1329,7 +1330,7 @@ void MenuBarManager::FillMenu(
}
if (!aCommandURL.isEmpty() && vcl::CommandInfoProvider::IsExperimental(aCommandURL, rModuleIdentifier) &&
- !SvtMiscOptions().IsExperimentalMode())
+ !officecfg::Office::Common::Misc::ExperimentalMode::get())
{
continue;
}
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index ea55656249ca..13e0efca691e 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -24,6 +24,7 @@
#include <uielement/toolbarmanager.hxx>
#include <framework/generictoolbarcontroller.hxx>
+#include <officecfg/Office/Common.hxx>
#include <uielement/styletoolbarcontroller.hxx>
#include <properties.h>
#include <framework/sfxhelperfunctions.hxx>
@@ -1005,7 +1006,7 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
}
if (!aCommandURL.isEmpty() && vcl::CommandInfoProvider::IsExperimental(aCommandURL, m_aModuleIdentifier) &&
- !SvtMiscOptions().IsExperimentalMode())
+ !officecfg::Office::Common::Misc::ExperimentalMode::get())
{
continue;
}
diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx
index a03d31100efa..6faa4036efc3 100644
--- a/framework/source/uielement/toolbarmodemenucontroller.cxx
+++ b/framework/source/uielement/toolbarmodemenucontroller.cxx
@@ -29,6 +29,7 @@
#include <com/sun/star/util/XURLTransformer.hpp>
+#include <officecfg/Office/Common.hxx>
#include <toolkit/awt/vclxmenu.hxx>
#include <vcl/menu.hxx>
#include <vcl/svapp.hxx>
@@ -131,7 +132,6 @@ void ToolbarModeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >
const Sequence<OUString> aModeNodeNames (aModesNode.getNodeNames());
const sal_Int32 nCount(aModeNodeNames.getLength());
- SvtMiscOptions aMiscOptions;
tools::Long nCountToolbar = 0;
for ( sal_Int32 nReadIndex = 0; nReadIndex < nCount; ++nReadIndex )
@@ -147,7 +147,7 @@ void ToolbarModeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >
bool hasNotebookbar = comphelper::getBOOL( aModeNode.getNodeValue( "HasNotebookbar" ) );
// Allow Notebookbar only in experimental mode
- if ( isExperimental && !aMiscOptions.IsExperimentalMode() )
+ if ( isExperimental && !officecfg::Office::Common::Misc::ExperimentalMode::get() )
continue;
if (!hasNotebookbar)
nCountToolbar++;
82b1b'>harfbuzz: update autoconf configs the gbuild wayDavid Tardon 2017-08-16Re-add external/harfbuzz/ubsan.patchStephan Bergmann 2017-08-15tdf#109142: Update to HarfBuzz 1.4.8Khaled Hosny 2016-12-15Build HarfBuzz with CoreText support also for iOSTor Lillqvist 2016-11-01Revert "tdf#103403: Wrong glyph advances with Graphite"Khaled Hosny 2016-10-31tdf#103403: Wrong glyph advances with GraphiteKhaled Hosny 2016-10-20external/harfbuzz: Silence clang-cl -Werror,-Wmicrosoft-enum-valueStephan Bergmann 2016-09-30Update HarfBuzz to 1.3.2Khaled Hosny 2016-09-16external/harfbuzz: Remove hidden dependency on freetypeStephan Bergmann