sc/source/ui/view/tabvwshb.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit e2aa2ec47db51ee92544374d3b2cc34b8d80a1e8 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Feb 6 14:53:52 2026 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Feb 6 20:34:39 2026 +0100 make calc QrCode dialog async Change-Id: I8f54f2cc6067db142f287ebbc902c0ce929cdf5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198845 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index e8a6a903c25f..4ab6c8ecafd4 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -460,9 +460,12 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq) const uno::Reference<frame::XModel> xModel( GetViewData().GetDocShell()->GetBaseModel() ); VclAbstractDialogFactory* pFact = VclAbstractDialogFactory::Create(); - ScopedVclPtr<AbstractQrCodeGenDialog> pDialog(pFact->CreateQrCodeGenDialog( + VclPtr<AbstractQrCodeGenDialog> pDialog(pFact->CreateQrCodeGenDialog( pWin->GetFrameWeld(), xModel, rReq.GetSlot() == SID_EDIT_QRCODE)); - pDialog->Execute(); + pDialog->StartExecuteAsync([pDialog](sal_Int32) { + pDialog->disposeOnce(); + }); + break; }
