summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 15:39:59 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 12:01:04 +0000
commit2554d0ab4e293c2e68477c1b390367c15353234e (patch)
treebb4c25068a8c0323749f7a9fe2c2e0c8ea5fb7d3 /svtools
parent883481fd200510f5ae62e7ab7cd18f7d925c2c47 (diff)
remove unused code from TabBar
Change-Id: I9f975d99893135b414c749c4fe86912362375c4e Reviewed-on: https://gerrit.libreoffice.org/9162 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/tabbar.cxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 5c118cbe25cf..2b1f0ede4784 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1692,7 +1692,6 @@ void TabBar::Select()
void TabBar::DoubleClick()
{
- maDoubleClickHdl.Call( this );
}
@@ -1715,7 +1714,6 @@ void TabBar::ImplActivatePage()
void TabBar::ActivatePage()
{
- maActivatePageHdl.Call( this );
}
@@ -1809,37 +1807,27 @@ Rectangle TabBar::ImplGetInsertTabRect(ImplTabBarItem* pItem) const
bool TabBar::DeactivatePage()
{
- if ( maDeactivatePageHdl.IsSet() )
- return maDeactivatePageHdl.Call( this );
- else
- return true;
+ return true;
}
bool TabBar::StartRenaming()
{
- if ( maStartRenamingHdl.IsSet() )
- return maStartRenamingHdl.Call( this );
- else
- return true;
+ return true;
}
TabBarAllowRenamingReturnCode TabBar::AllowRenaming()
{
- if ( maAllowRenamingHdl.IsSet() )
- return (TabBarAllowRenamingReturnCode) maAllowRenamingHdl.Call( this );
- else
- return TABBAR_RENAMING_YES;
+ return TABBAR_RENAMING_YES;
}
void TabBar::EndRenaming()
{
- maEndRenamingHdl.Call( this );
}