[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Feb 28 17:04:16 UTC 2019


 sc/source/ui/docshell/docsh4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f596b5f923907aae99977fc240a890f11affd386
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Feb 28 11:41:01 2019 +0200
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Feb 28 18:03:51 2019 +0100

    fix "doc will be saved" dialog message
    
    looks like a copy/paste error in
        commit 942f05996bc287923cdbcae12c64e57adf8ec975
        Author: Caolán McNamara <caolanm at redhat.com>
        convert remaining ErrorBox to weld::MessageDialog
    
    Change-Id: I52d38311b1e276fd799128e058ea0b9c902aef06
    Reviewed-on: https://gerrit.libreoffice.org/68491
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit e76203f45a4c645447f8379ee2123f518a8aca77)
    Reviewed-on: https://gerrit.libreoffice.org/68503
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 47992f8ea28d..1d4ad1830372 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -985,7 +985,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
                                 vcl::Window* pWin = GetActiveDialogParent();
                                 std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pWin ? pWin->GetFrameWeld() : nullptr,
                                                                                VclMessageType::Question, VclButtonsType::YesNo,
-                                                                               ScResId(STR_REIMPORT_AFTER_LOAD)));
+                                                                               ScResId(STR_DOC_WILLBESAVED)));
                                 xQueryBox->set_default_response(RET_YES);
                                 if (xQueryBox->run() == RET_NO)
                                 {


More information about the Libreoffice-commits mailing list