[Libreoffice-commits] .: xmloff/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 24 03:34:13 PST 2013


 xmloff/source/chart/SchXMLTools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1760a241b3f0362338d09460ac7dd2e1f2b25aa
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Jan 24 13:27:17 2013 +0200

    WaE: 'bVal' may be used uninitialized in this function
    
    Seen in the MacOSX-Intel_1-built_no-moz_on_10.6.8 tinderbox build log,
    not in an own build.
    
    Change-Id: I1b5c87d3c1876821981d8f8a7b089b81659e5c7b

diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx
index 2e469a4..5752fad 100644
--- a/xmloff/source/chart/SchXMLTools.cxx
+++ b/xmloff/source/chart/SchXMLTools.cxx
@@ -383,7 +383,7 @@ Reference< chart2::data::XDataSequence > CreateDataSequence(
     {
         try
         {
-            sal_Bool bVal;
+            sal_Bool bVal = sal_False;
             uno::Any any = xPropSet->getPropertyValue("UseInternalDataProvider");
             if (any >>= bVal)
                 bUseInternal = static_cast<bool>(bVal);


More information about the Libreoffice-commits mailing list