sc/source/ui/view/cellsh1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8dd210c44268850195204cd7b7ca5e7aab0b33e8 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Dec 12 16:40:31 2023 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Dec 13 20:35:35 2023 +0100 add a notifier for the "Edit Existing Cond Formats" warning dialog otherwise in --enable-dbgutil this assert with: vcl::Window::SetLOKNotifier(vcl::Window * const this, const vcl::ILibreOfficeKitNotifier * pNotifier, bool bParent) (vcl/source/window/window.cxx:3193) libmergedlo.so!Dialog::ImplStartExecute(Dialog * const this) (vcl/source/window/dialog.cxx:940) libmergedlo.so!Dialog::StartExecuteAsync(Dialog * const this, VclAbstractDialog::AsyncContext & rCtx) (vcl/source/window/dialog.cxx:1111) ... libsclo.so!ScCellShell::ExecuteEdit(ScCellShell * const this, SfxRequest & rReq) (sc/source/ui/view/cellsh1.cxx:2352) Change-Id: I8be89a1e5d7fa2498118bad7a94ed6aad743095b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160634 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 558d5a816615..35e4eec23ebc 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -2347,7 +2347,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) { std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pTabViewShell->GetFrameWeld(), VclMessageType::Question, VclButtonsType::YesNo, - ScResId(STR_EDIT_EXISTING_COND_FORMATS))); + ScResId(STR_EDIT_EXISTING_COND_FORMATS), pTabViewShell)); xQueryBox->set_default_response(RET_YES); bool bEditExisting = xQueryBox->run() == RET_YES; if (bEditExisting)