diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-12 16:40:31 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-01-17 11:53:06 +0100 |
commit | 62b0edad81aefaafa16cc1bbb2c4cab0dcd5460a (patch) | |
tree | 18f9175451a8733fb05b1f8ea0c4e421794e8606 /sc | |
parent | 49a0983b55590331d722ebcf9b15a45d5f3dcfa1 (diff) |
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.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index cd6aafe975bd..4907b6b50c05 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -2389,7 +2389,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) { std::shared_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); xQueryBox->runAsync(xQueryBox, [this, nIndex, nSlot, aPos, pTabViewShell] (int nResult) { sal_uInt32 nNewIndex = nIndex; |