diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-05-31 11:44:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-05-31 13:51:24 +0200 |
commit | a0ee0fe0d5340ba67e849068af9a50108cd27e5f (patch) | |
tree | 92bd92bca619f6a5aa4ae6e16893c4d9bea32754 /svtools | |
parent | 7be7e1ff95af485a9cb00748800d3d084f96387c (diff) |
Improve some error diagnostics
Change-Id: I4e9d19a164fdc035ceabd9d4a04a0f500322dd0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152419
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/colrdlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/dialogs/colrdlg.cxx b/svtools/source/dialogs/colrdlg.cxx index 27008ccfcd28..49ea8294f0e3 100644 --- a/svtools/source/dialogs/colrdlg.cxx +++ b/svtools/source/dialogs/colrdlg.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/cui/AsynchronousColorPicker.hpp> #include <com/sun/star/cui/ColorPicker.hpp> +#include <comphelper/diagnose_ex.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/propertyvalue.hxx> @@ -130,7 +131,7 @@ void SvColorDialog::ExecuteAsync(weld::Window* pParent, const std::function<void } catch(Exception&) { - OSL_ASSERT(false); + TOOLS_WARN_EXCEPTION("svtools.dialogs", "SvColorDialog::ExecuteAsync"); } } |