Kaydet (Commit) 55de7652 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

callcatcher: remove unused TaskBar::Foo

üst a5b3eded
......@@ -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; }
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment