chart2/source/controller/main/ChartController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0e0fa692c548246f9f1ed3a18ba733b493fef3ed Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Dec 11 14:51:42 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Dec 11 17:01:09 2020 +0100 check that extraction succeeded Change-Id: Ie03215ee43c885948261b6df4e8d1f23a4dd1a4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107551 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 1953bf9e6f59..defde0487db7 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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits