filter/source/pdf/impdialog.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit b97666b3eea66855ecf0646f853ed83a91fe6bd8
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat May 14 13:28:06 2022 +0200
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Wed May 18 14:54:13 2022 +0200

    tdf#149072: fix export PDF with PDF/UA in GUI after Index language was set
    
    Regression of a1f9fea520f5b3f5d54a284886aa531693f32e7a
    Make accessibility check dialog async
    
    First add of m_xDialog->response(RET_OK) fixes the bug
    the second one is just here to have same behaviour as before the quoted 
patch
    
    Change-Id: Ib24459e4e946b83172271a9097930e5977e676be
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134311
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    (cherry picked from commit 4d3a9d4ffec4bf9765f965d92c163c94201a3c9a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134497
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 8eda392710bd..cdeed9ed00da 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -329,6 +329,14 @@ IMPL_LINK_NOARG(ImpPDFTabDialog, OkHdl, weld::Button&, 
void)
                     m_xDialog->response(retValue);
                 });
             }
+            else
+            {
+                m_xDialog->response(RET_OK);
+            }
+        }
+        else
+        {
+            m_xDialog->response(RET_OK);
         }
     }
     else

Reply via email to