summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/controller/sidebar/ChartLinePanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index 019b022bd1a3..9a54f913dca9 100644
--- a/chart2/source/controller/sidebar/ChartLinePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx
@@ -193,7 +193,7 @@ void ChartLinePanel::updateData()
XLineTransparenceItem aLineTransparenceItem(nLineTransparence);
updateLineTransparence(false, true, &aLineTransparenceItem);
- sal_uInt32 nWidth;
+ sal_uInt32 nWidth = 0;
xPropSet->getPropertyValue("LineWidth") >>= nWidth;
XLineWidthItem aWidthItem(nWidth);
updateLineWidth(false, true, &aWidthItem);