[Libreoffice-commits] core.git: uui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Feb 28 12:41:33 UTC 2019


 uui/source/lockcorrupt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5af5b23c8f0dde000eb025a01b07881b8f4a71e9
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Feb 28 10:55:01 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Feb 28 13:41:08 2019 +0100

    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/68490
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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);


More information about the Libreoffice-commits mailing list