diff options
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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")) |