summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-02 20:41:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-03 11:11:14 +0200
commit81903d443116c643a9ff92d92c092812abc7f57d (patch)
tree1d4d533ef9171c96b2ffa910810dceecd2ce700c /vcl/source/control/button.cxx
parentee2e8d0c0670b4eeecd73b76d7f182fa003426ae (diff)
merge msgbox and stdtext
Change-Id: If95d78746eff3ae5343e7d4c6bb2433537ccb84d Reviewed-on: https://gerrit.libreoffice.org/80099 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 3d948a69c925..b7a77541f019 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -123,37 +123,6 @@ void Button::Click()
ImplCallEventListenersAndHandler( VclEventId::ButtonClick, [this] () { maClickHdl.Call(this); } );
}
-OUString GetStandardText(StandardButtonType eButton)
-{
- static const char* aResIdAry[static_cast<int>(StandardButtonType::Count)] =
- {
- // http://lists.freedesktop.org/archives/libreoffice/2013-January/044513.html
- // Under windows we don't want accelerators on ok/cancel but do on other
- // buttons
-#ifdef _WIN32
- SV_BUTTONTEXT_OK_NOMNEMONIC,
- SV_BUTTONTEXT_CANCEL_NOMNEMONIC,
-#else
- SV_BUTTONTEXT_OK,
- SV_BUTTONTEXT_CANCEL,
-#endif
- SV_BUTTONTEXT_YES,
- SV_BUTTONTEXT_NO,
- SV_BUTTONTEXT_RETRY,
- SV_BUTTONTEXT_HELP,
- SV_BUTTONTEXT_CLOSE,
- SV_BUTTONTEXT_MORE,
- SV_BUTTONTEXT_IGNORE,
- SV_BUTTONTEXT_ABORT,
- SV_BUTTONTEXT_LESS,
- STR_WIZDLG_PREVIOUS,
- STR_WIZDLG_NEXT,
- STR_WIZDLG_FINISH,
- };
-
- return VclResId(aResIdAry[static_cast<sal_uInt16>(eButton)]);
-}
-
void Button::SetModeImage( const Image& rImage )
{
if ( rImage != mpButtonData->maImage )