chart2/source/controller/main/ChartController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9ef0c8b2d59105e6a9dd7d6f4ed6942bc4745ef8 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Dec 11 14:51:42 2020 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Dec 11 16:41:43 2020 +0100 check that extraction succeeded Change-Id: Ie03215ee43c885948261b6df4e8d1f23a4dd1a4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 495cc453ba04..ccd9aa68d994 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1108,8 +1108,8 @@ void SAL_CALL ChartController::dispatch( if (rArgs.getLength() > 0) { sal_uInt32 nColor; - rArgs[0].Value >>= nColor; - this->executeDispatch_FillColor(nColor); + if (rArgs[0].Value >>= nColor) + this->executeDispatch_FillColor(nColor); } } else if(aCommand.startsWith("FillGradient")) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
