sc/source/ui/view/tabvwshb.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit be7fbfbfeca22cda4a96f487a9697e13521f9292
Author:     Caolán McNamara <[email protected]>
AuthorDate: Fri Feb 6 14:53:52 2026 +0000
Commit:     Miklos Vajna <[email protected]>
CommitDate: Mon Feb 9 08:38:54 2026 +0100

    make calc QrCode dialog async
    
    Change-Id: I8f54f2cc6067db142f287ebbc902c0ce929cdf5c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198844
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 2a4484550d9c..8b232fa72a9b 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;
             }
 

Reply via email to