[Libreoffice-commits] .: binfilter/bf_sc

Caolán McNamara caolan at kemper.freedesktop.org
Wed Dec 21 01:31:08 PST 2011


 binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 64926061f538f0a6e2cd1f6b824b9b864db744c1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 20 15:20:26 2011 +0000

    WaE: possibly uninitialized

diff --git a/binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx b/binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx
index 6f6b2d0..c05989f 100644
--- a/binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx
+++ b/binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx
@@ -146,7 +146,7 @@ void ScXMLExportDatabaseRanges::WriteImportDescriptor(const uno::Sequence <beans
     sal_Int32 nProperties = aImportDescriptor.getLength();
     ::rtl::OUString sDatabaseName;
     ::rtl::OUString sSourceObject;
-    sheet::DataImportMode nSourceType;
+    sheet::DataImportMode nSourceType = sheet::DataImportMode_NONE;
     sal_Bool bNative = sal_False;
     for (sal_Int16 i = 0; i < nProperties; i++)
     {


More information about the Libreoffice-commits mailing list