summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-20 08:44:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-20 12:13:03 +0200
commit9aad1dfc7480c2972a4b671699c8729f9c674559 (patch)
treec20da0a8811f73e281affe9d389e5d5096f5d583 /chart2
parent1d66b9970b7ecf8d8e144cfa3b2fbb7ce3dd1a08 (diff)
cid#1468269 Uninitialized scalar field
Change-Id: I4457019570571c810265bf721cdefb0bdd65dd7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104551 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/PieChart.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx
index 9b7279599f8b..b3dd54dec86d 100644
--- a/chart2/source/view/charttypes/PieChart.cxx
+++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -863,7 +863,9 @@ void PieChart::createShapes()
PieChart::PieLabelInfo::PieLabelInfo()
: aFirstPosition(), aOrigin(), fValue(0.0)
- , bMovementAllowed(false), bMoved(false), pPrevious(nullptr),pNext(nullptr)
+ , bMovementAllowed(false), bMoved(false)
+ , bShowLeaderLine(false), pPrevious(nullptr)
+ , pNext(nullptr)
{
}