The GoSub flag (0x8000) was cleared before being tested, so PushGosub never returned to the following line when returning using a Return statement. Change-Id: Ic1e6977d48a34c52ed9c24c5be0d9acfa3eb7552 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210395 Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Tested-by: Jenkins