diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-13 17:04:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-13 17:04:42 +0200 |
commit | ce2a1922f1159369cd28ee60b2999e0652c6abac (patch) | |
tree | b79ada2093087eb9415cc4299225c15ec07a206e /sw | |
parent | 2cdc693c56c266e149473241e6b3cb54fb2a2a03 (diff) |
-Werror=maybe-uninitialized
Change-Id: I649c25c4da055a8e92260ac36144283f3d66aabb
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 4 |
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; |