summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-13 13:15:48 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-14 08:19:54 +0200
commit55de765205359cb0c268a6b2c027e9839102ca04 (patch)
tree4642da4d2941ef9a1596bba7157cde9e3db2d796 /svtools
parenta5b3ededeeb952f12b478ea5035655bb8eeeb1fe (diff)
callcatcher: remove unused TaskBar::Foo
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/taskbar.hxx5
-rw-r--r--svtools/source/control/taskbar.cxx64
2 files changed, 0 insertions, 69 deletions
diff --git a/svtools/inc/svtools/taskbar.hxx b/svtools/inc/svtools/taskbar.hxx
index 36b625eca650..dc6e15a530d4 100644
--- a/svtools/inc/svtools/taskbar.hxx
+++ b/svtools/inc/svtools/taskbar.hxx
@@ -403,14 +403,9 @@ public:
void Format();
- void SetLines( sal_uInt16 nLines );
sal_uInt16 GetLines() const { return mnLines; }
- void EnableAutoHide( sal_Bool bAutoHide = sal_True );
sal_Bool IsAutoHideEnabled() const { return mbAutoHide; }
- void ShowStatusText( const String& rText );
- void HideStatusText();
-
void SetStatusSize( long nNewSize )
{ mnStatusWidth=nNewSize; Resize(); }
long GetStatusSize() const { return mnStatusWidth; }
diff --git a/svtools/source/control/taskbar.cxx b/svtools/source/control/taskbar.cxx
index 8d3a6abce18f..a41730c3318b 100644
--- a/svtools/source/control/taskbar.cxx
+++ b/svtools/source/control/taskbar.cxx
@@ -464,70 +464,6 @@ void TaskBar::Format()
// -----------------------------------------------------------------------
-void TaskBar::SetLines( sal_uInt16 nLines )
-{
- mnLines = nLines;
-}
-
-// -----------------------------------------------------------------------
-
-void TaskBar::EnableAutoHide( sal_Bool bAutoHide )
-{
- mbAutoHide = bAutoHide;
-
- if ( mbAutoHide )
- {
- ImplNewHeight( TASKBAR_AUTOHIDE_HEIGHT );
- }
- else
- {
- ImplNewHeight( CalcWindowSizePixel().Height() );
- }
-}
-
-// -----------------------------------------------------------------------
-
-void TaskBar::ShowStatusText( const String& rText )
-{
- if ( mpStatusBar )
- {
- if ( !mbStatusText )
- {
- mbStatusText = sal_True;
- if ( mpStatusBar->AreItemsVisible() )
- {
- mbShowItems = sal_True;
- mpStatusBar->HideItems();
- }
- else
- mbShowItems = sal_True;
- maOldText = mpStatusBar->GetText();
- Resize();
- mpStatusBar->SetText( rText );
- Update();
- mpStatusBar->Update();
- }
- else
- mpStatusBar->SetText( rText );
- }
-}
-
-// -----------------------------------------------------------------------
-
-void TaskBar::HideStatusText()
-{
- if ( mbStatusText && mpStatusBar )
- {
- mbStatusText = sal_False;
- mpStatusBar->SetText( maOldText );
- Resize();
- if ( mbShowItems )
- mpStatusBar->ShowItems();
- }
-}
-
-// -----------------------------------------------------------------------
-
Size TaskBar::CalcWindowSizePixel() const
{
TaskButtonBar* pTempButtonBar = GetButtonBar();