summaryrefslogtreecommitdiff
path: root/uui/source/lockfailed.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-17 09:41:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-17 13:41:48 +0200
commit28fc986025009473c9782b61d8c6062fa60085ba (patch)
tree08c19f552e49802b93537ea108b04f9fe13770e9 /uui/source/lockfailed.cxx
parent65575016ab29b942aea482eab0b54afa262fb998 (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 'uui/source/lockfailed.cxx')
-rw-r--r--uui/source/lockfailed.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/lockfailed.cxx b/uui/source/lockfailed.cxx
index 0f2167294f21..8254b19e509b 100644
--- a/uui/source/lockfailed.cxx
+++ b/uui/source/lockfailed.cxx
@@ -20,7 +20,7 @@
#include <strings.hrc>
#include "lockfailed.hxx"
#include <unotools/resmgr.hxx>
-#include <vcl/button.hxx>
+#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
LockFailedQueryBox::LockFailedQueryBox(weld::Window* pParent, const std::locale& rLocale)
@@ -29,7 +29,7 @@ LockFailedQueryBox::LockFailedQueryBox(weld::Window* pParent, const std::locale&
{
m_xQueryBox->set_title(Translate::get(STR_LOCKFAILED_TITLE, rLocale));
m_xQueryBox->add_button(Translate::get(STR_LOCKFAILED_OPENREADONLY_BTN, rLocale), RET_OK);
- m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
+ m_xQueryBox->add_button(GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
m_xQueryBox->set_default_response(RET_OK);
}