tdf#123144 - Always translate an error number to a vba error message

In addition, create a meaningful error message and don't create and
artificial error message if there exists a custom one.

Change-Id: I682e497ee3fdfe4da80fb17ab41c1b4cf90eb2cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122206
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
This commit is contained in:
Andreas Heinisch
2021-09-16 18:43:50 +02:00
parent e29689e279
commit adb38e36e3
5 changed files with 53 additions and 9 deletions

View File

@@ -85,6 +85,7 @@ void VBATest::testMiscVBAFunctions()
"day.vb",
"enum.vb",
"error.vb",
"error_message.vb",
"Err.Raise.vb",
"exp.vb",
"fix.vb",