summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-13 17:04:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-13 17:04:42 +0200
commitce2a1922f1159369cd28ee60b2999e0652c6abac (patch)
treeb79ada2093087eb9415cc4299225c15ec07a206e
parent2cdc693c56c266e149473241e6b3cb54fb2a2a03 (diff)
-Werror=maybe-uninitialized
Change-Id: I649c25c4da055a8e92260ac36144283f3d66aabb
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 98070d5b1e2b..a61ea18df487 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -4985,7 +4985,7 @@ void SAL_CALL SwXTextCellStyle::setPropertyValue(const OUString& rPropertyName,
case RES_CHRATR_SHADOWED:
{
SvxShadowedItem rShadowedItem = m_pBoxAutoFormat->GetShadowed();
- bool bValue; aValue >>= bValue;
+ bool bValue = false; aValue >>= bValue;
rShadowedItem.SetValue(bValue);
m_pBoxAutoFormat->SetShadowed(rShadowedItem);
return;
@@ -4993,7 +4993,7 @@ void SAL_CALL SwXTextCellStyle::setPropertyValue(const OUString& rPropertyName,
case RES_CHRATR_CONTOUR:
{
SvxContourItem rContourItem = m_pBoxAutoFormat->GetContour();
- bool bValue; aValue >>= bValue;
+ bool bValue = false; aValue >>= bValue;
rContourItem.SetValue(bValue);
m_pBoxAutoFormat->SetContour(rContourItem);
return;