summaryrefslogtreecommitdiff
path: root/framework/source/uielement
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 14:42:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 07:57:11 +0000
commit423936ffacb72f85b37961e4cd585fe2719799b7 (patch)
tree3c08c99af64762429d97bf8dcfe7cbac9c56c6ab /framework/source/uielement
parente7782a99a5b5248e3c133a7b085737ceb0ecea57 (diff)
loplugin:expandablemethodds in formula..framework
Change-Id: I6c8b1bb3b664faa92b2dc05955c30bfd35f6dfaa Reviewed-on: https://gerrit.libreoffice.org/30015 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/uielement')
-rw-r--r--framework/source/uielement/toolbarsmenucontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx
index 1b649c8f6326..44ae069fa0a9 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -737,7 +737,7 @@ void SAL_CALL ToolbarsMenuController::itemActivated( const css::awt::MenuEvent&
// Special code to determine the enable/disable state of this command
FeatureStateEvent aFeatureStateEvent;
aFeatureStateEvent.FeatureURL.Complete = aCmdVector[i];
- aFeatureStateEvent.IsEnabled = isContextSensitiveToolbarNonVisible();
+ aFeatureStateEvent.IsEnabled = m_bResetActive; // is context sensitive toolbar non visible
statusChanged( aFeatureStateEvent );
}
}