vcl/source/app/svapp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9065a5b7b7fdcc2425bac78d64d6deb61edbfc57
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Fri Aug 9 11:12:48 2024 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Fri Aug 9 12:33:32 2024 +0200

    Under Application::IsOnSystemEventLoop, do nothing in 
Application::Reschedule
    
    ...as e.g. loading an HTML document via SwHTMLParser calls it at various 
places,
    presumably to make loading more responsive for the user, but without any
    functional impact beyond that.  So instead of aborting better just do 
nothing.
    
    Change-Id: I99350ab98b1b75be9a8c7adcc72973174bc258e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171688
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index e3332817f4e4..458da9d8c251 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -399,7 +399,7 @@ bool Application::Reschedule( bool i_bAllEvents )
     if (bAbort)
     {
         SAL_WARN("vcl.schedule", "Application::Reschedule(" << i_bAllEvents << 
")");
-        std::abort();
+        return false;
     }
     return ImplYield(false, i_bAllEvents);
 }

Reply via email to