summaryrefslogtreecommitdiff
path: root/svtools/source/control/tabbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/tabbar.cxx')
-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 );
}