don't need to include button.hxx here
Change-Id: I70ee0546c768271b9eb1d1432de2c9c642c0984a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107133 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -205,7 +205,7 @@ public:
|
||||
void SetIconClickHdl( Link<NotebookBar*, void> aHdl );
|
||||
void SetToolBox( ToolBox* pToolBox );
|
||||
ToolBox* GetToolBox() { return m_pShortcuts; }
|
||||
PushButton* GetOpenMenu() { return m_pOpenMenu; }
|
||||
Control* GetOpenMenu();
|
||||
|
||||
virtual Size calculateRequisition() const override;
|
||||
static sal_uInt16 GetHeaderHeight();
|
||||
|
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include <vcl/builderfactory.hxx>
|
||||
#include <vcl/button.hxx>
|
||||
#include <vcl/layout.hxx>
|
||||
#include <vcl/notebookbar.hxx>
|
||||
#include <vcl/tabpage.hxx>
|
||||
@@ -161,7 +160,7 @@ NotebookbarTabControl::~NotebookbarTabControl()
|
||||
void NotebookbarTabControl::ArrowStops( sal_uInt16 nCode )
|
||||
{
|
||||
ToolBox* pToolBox( GetToolBox() );
|
||||
PushButton* pOpenMenu( GetOpenMenu() );
|
||||
Control* pOpenMenu( GetOpenMenu() );
|
||||
|
||||
if ( nCode == KEY_LEFT )
|
||||
{
|
||||
|
@@ -2393,4 +2393,9 @@ Size NotebookbarTabControlBase::calculateRequisition() const
|
||||
return TabControl::ImplCalculateRequisition(m_nHeaderHeight);
|
||||
}
|
||||
|
||||
Control* NotebookbarTabControlBase::GetOpenMenu()
|
||||
{
|
||||
return m_pOpenMenu;
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user