summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-04-21 01:05:53 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2017-04-23 19:50:13 +0300
commita32fbca154991a93b6bef55f1c306a2fac5674b6 (patch)
tree1300d7d23903e648d2afb7b49b06410482508b1c /cui
parente780e7b4338e5773788ce66837d17f5be1dfb99b (diff)
Customization of notebookbar menu always possible
i.e. even when experimental features disabled. That's the same behavior as for the notebookbar shortcuts toolbar. Change-Id: Ic87e5c8015f796f33042d1e348ea567681ae240d
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 6ac6fbbe8bf8..bb9eb71ed25b 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1354,8 +1354,6 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
{
if ( !m_pRootEntry )
{
- bool bExperimental = SvtMiscOptions().IsExperimentalMode();
-
typedef std::unordered_map< OUString, bool, OUStringHash > MenuInfo;
MenuInfo aMenuInfo;
@@ -1380,9 +1378,6 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
}
}
- if ( !bExperimental && aUrl.endsWith("notebookbar") )
- continue;
-
css::uno::Reference< css::container::XIndexAccess > xPopupMenu;
try
{
@@ -1431,9 +1426,6 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
}
}
- if ( !bExperimental && aUrl.endsWith("notebookbar") )
- continue;
-
css::uno::Reference< css::container::XIndexAccess > xPopupMenu;
try
{