diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-28 10:55:01 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-28 17:35:30 +0100 |
commit | 23a78ef28cc781e08e3e5ffee3c72bfffbbd62d3 (patch) | |
tree | ee36be418ea84b2fd35e1ec941186bb00b711531 | |
parent | d9ccfe80c592d25cc12193474206f8998e317050 (diff) |
fix LockCorruptQueryBox title
regression from
commit 082e69fefb7439fd4f3d543f0c402039e94c1e9c
Date: Mon Feb 26 16:53:37 2018 +0000
convert various MessBox to weld::MessageDialog
Change-Id: Ia9cef4de4ae9c13201c838f20f0ba6b6cff7f35d
Reviewed-on: https://gerrit.libreoffice.org/68504
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | uui/source/lockcorrupt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/lockcorrupt.cxx b/uui/source/lockcorrupt.cxx index bba82db1db3f..008d4555a520 100644 --- a/uui/source/lockcorrupt.cxx +++ b/uui/source/lockcorrupt.cxx @@ -28,7 +28,7 @@ LockCorruptQueryBox::LockCorruptQueryBox(weld::Window* pParent, const std::local : m_xQueryBox(Application::CreateMessageDialog(pParent, VclMessageType::Question, VclButtonsType::NONE, Translate::get(STR_LOCKCORRUPT_MSG, rResLocale))) { - m_xQueryBox->set_title(Translate::get(STR_LOCKCORRUPT_MSG, rResLocale)); + m_xQueryBox->set_title(Translate::get(STR_LOCKCORRUPT_TITLE, rResLocale)); m_xQueryBox->add_button(Translate::get(STR_LOCKCORRUPT_OPENREADONLY_BTN, rResLocale), RET_OK); m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::Cancel), RET_CANCEL); m_xQueryBox->set_default_response(RET_OK); |