summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-10 12:36:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-10 21:51:42 +0100
commitce6b095ce310c1bd6c9b3120497a3af511186d2b (patch)
tree9f1c9cc16e0dbbf3e66f0d75091954cc1076fe14 /vcl/source/control/button.cxx
parent068d43071385a0a08dacdd5232e0778be2154778 (diff)
Button::GetStandardHelpText returns empty string, its all a noop
Change-Id: I651b19840aabf67b3083cd855c2851ac4c96741e
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 8b89cd6bee8a..fb2e982537f4 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -156,14 +156,6 @@ OUString Button::GetStandardText( StandardButtonType eButton )
}
// -----------------------------------------------------------------------
-
-XubString Button::GetStandardHelpText( StandardButtonType /* eButton */ )
-{
- XubString aHelpText;
- return aHelpText;
-}
-
-// -----------------------------------------------------------------------
sal_Bool Button::SetModeImage( const Image& rImage )
{
if ( rImage != mpButtonData->maImage )
@@ -1753,7 +1745,6 @@ void OKButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton::ImplInit( pParent, nStyle );
SetText( Button::GetStandardText( BUTTON_OK ) );
- SetHelpText( Button::GetStandardHelpText( BUTTON_OK ) );
}
// -----------------------------------------------------------------------
@@ -1819,7 +1810,6 @@ void CancelButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton::ImplInit( pParent, nStyle );
SetText( Button::GetStandardText( BUTTON_CANCEL ) );
- SetHelpText( Button::GetStandardHelpText( BUTTON_CANCEL ) );
}
// -----------------------------------------------------------------------
@@ -1882,7 +1872,6 @@ CloseButton::CloseButton( Window* pParent, WinBits nStyle )
: CancelButton(pParent, nStyle)
{
SetText( Button::GetStandardText( BUTTON_CLOSE ) );
- SetHelpText( Button::GetStandardHelpText( BUTTON_CLOSE ) );
}
// =======================================================================
@@ -1892,7 +1881,6 @@ void HelpButton::ImplInit( Window* pParent, WinBits nStyle )
PushButton::ImplInit( pParent, nStyle | WB_NOPOINTERFOCUS );
SetText( Button::GetStandardText( BUTTON_HELP ) );
- SetHelpText( Button::GetStandardHelpText( BUTTON_HELP ) );
}
// -----------------------------------------------------------------------