diff options
author | Andre Fischer <af@apache.org> | 2013-05-17 09:44:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-21 16:46:52 +0100 |
commit | 76ca8f7f178f5e9698d23ac0b1212922f2ddf39b (patch) | |
tree | fb611a61b86c655ed2a2d9d9b663f965a9c3d33a /sfx2/source/sidebar/Panel.cxx | |
parent | edaca7c6e1d1ade6bf6cdae753028ee62297f0b1 (diff) |
Resolves: #i122315# Disable 'More Options' buttons when...
their commands are disabled
(cherry picked from commit 10e1831ad2e9597c5197bafb6e03b098f8e81454)
Conflicts:
sfx2/inc/sfx2/sidebar/SidebarToolBox.hxx
sfx2/source/sidebar/SidebarToolBox.cxx
sfx2/source/sidebar/TitleBar.cxx
Change-Id: Iff83e024bd58ce4a6f27a8cde66b287d3bf710a3
Diffstat (limited to 'sfx2/source/sidebar/Panel.cxx')
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 0840c4c5f805..3b81121bf223 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -82,17 +82,6 @@ Panel::~Panel (void) -void Panel::SetShowMenuFunctor( const ::boost::function<void(void)>& rShowMenuFunctor ) -{ - if ( mpTitleBar.get() ) - { - mpTitleBar->SetMenuAction( rShowMenuFunctor ); - } -} - - - - void Panel::Dispose (void) { mxPanelComponent = NULL; @@ -123,7 +112,7 @@ void Panel::Dispose (void) -TitleBar* Panel::GetTitleBar (void) const +PanelTitleBar* Panel::GetTitleBar (void) const { return mpTitleBar.get(); } |