[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.stahl@allotropia.de>
This commit is contained in:
Verne-Lai
2021-10-01 11:09:59 +08:00
committed by Michael Stahl
parent af291666b3
commit dad5b69b22

View File

@@ -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