[Libreoffice-commits] core.git: chart2/source

Thorsten Behrens thorsten.behrens at CIB.de
Wed May 4 12:16:24 UTC 2016


 chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2cf939b2da466b33189de153a1bbbb5c40485cee
Author: Thorsten Behrens <thorsten.behrens at CIB.de>
Date:   Wed May 4 14:13:23 2016 +0200

    -Werror=maybe-uninitialized
    
    Change-Id: Id516aa921d13ff5c0085fb9cf76fefd56acb31ad

diff --git a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
index 7338994..c159dfd 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
@@ -141,7 +141,7 @@ public:
         if( m_ePropertyType == DIAGRAM )
         {
             bool bHasAmbiguousValue = false;
-            PROPERTYTYPE aValue;
+            PROPERTYTYPE aValue = PROPERTYTYPE();
             if( detectInnerValue( aValue, bHasAmbiguousValue ) )
             {
                 if(bHasAmbiguousValue)


More information about the Libreoffice-commits mailing list