diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-17 09:41:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-17 13:41:48 +0200 |
commit | 28fc986025009473c9782b61d8c6062fa60085ba (patch) | |
tree | 08c19f552e49802b93537ea108b04f9fe13770e9 /cui/source/customize | |
parent | 65575016ab29b942aea482eab0b54afa262fb998 (diff) |
move GetStandardText to stdtext.hxx
Change-Id: Iaf9b5107cf88390f62d5ca94bf985c77bcb8b7ad
Reviewed-on: https://gerrit.libreoffice.org/79048
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/customize')
-rw-r--r-- | cui/source/customize/cfg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 45319736b7db..def983911b70 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -24,7 +24,7 @@ #include <stdlib.h> #include <typeinfo> -#include <vcl/button.hxx> +#include <vcl/stdtext.hxx> #include <vcl/commandinfoprovider.hxx> #include <vcl/edit.hxx> #include <vcl/event.hxx> @@ -2981,11 +2981,11 @@ namespace : m_xQueryBox(Application::CreateMessageDialog(pParent, VclMessageType::Warning, VclButtonsType::NONE, ReplaceIconName(rMessage))) { m_xQueryBox->set_title(CuiResId(RID_SVXSTR_REPLACE_ICON_CONFIRM)); - m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::Yes), 2); + m_xQueryBox->add_button(GetStandardText(StandardButtonType::Yes), 2); if (bYestoAll) m_xQueryBox->add_button(CuiResId(RID_SVXSTR_YESTOALL), 5); - m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::No), 4); - m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::Cancel), 6); + m_xQueryBox->add_button(GetStandardText(StandardButtonType::No), 4); + m_xQueryBox->add_button(GetStandardText(StandardButtonType::Cancel), 6); m_xQueryBox->set_default_response(2); } short run() { return m_xQueryBox->run(); } |