sw/source/core/unocore/unostyle.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ce2a1922f1159369cd28ee60b2999e0652c6abac
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Jul 13 17:04:42 2016 +0200

    -Werror=maybe-uninitialized
    
    Change-Id: I649c25c4da055a8e92260ac36144283f3d66aabb

diff --git a/sw/source/core/unocore/unostyle.cxx 
b/sw/source/core/unocore/unostyle.cxx
index 98070d5..a61ea18 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to