vbahelper/source/vbahelper/vbaeventshelperbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dad5b69b229047e0bba921f185dddd6ce26183a5 Author: Verne-Lai <ve...@ossii.com.tw> AuthorDate: Fri Oct 1 11:09:59 2021 +0800 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Oct 4 11:21:34 2021 +0200 [tdf#42982]Improve runtimeException's Message Change-Id: Ieb1bc302c2c1093561082704e26e3ff3b648db91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122902 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx index 1396c93cd616..8c8515d8fa1c 100644 --- a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx +++ b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx @@ -277,7 +277,7 @@ OUString VbaEventsHelperBase::getEventHandlerPath( const EventHandlerInfo& rInfo break; default: - throw uno::RuntimeException(); // unsupported module type + throw uno::RuntimeException("This module type is unsupported"); // unsupported module type } /* Performance improvement: Check the list of existing event handlers