sfx2/source/doc/sfxbasemodel.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 278a05e0b627cc7d8abb47facb9d1289b006bdf4 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Wed Nov 20 14:59:11 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Nov 20 16:27:56 2024 +0100
WARN about swallowed exceptions Change-Id: I2d6aef0dfa8bd8c002fd172b13363e629bc9cc3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176851 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 92a34e9fb8d8..7ecfd1d9a60c 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -3324,6 +3324,7 @@ public: catch( RuntimeException& ) { // this exception is ignored to avoid problems with invalid listeners, the listener should be probably thrown away in future + TOOLS_WARN_EXCEPTION("sfx.appl", "ignoring"); } } };