[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - chart2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 11 16:01:40 UTC 2020


 chart2/source/controller/main/ChartController.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0e0fa692c548246f9f1ed3a18ba733b493fef3ed
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Dec 11 14:51:42 2020 +0000
Commit:     Caolán McNamara <caolanm at 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 <caolanm at 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"))


More information about the Libreoffice-commits mailing list