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

Caolán McNamara caolanm at redhat.com
Thu Jul 16 00:49:38 PDT 2015


 unotools/source/config/lingucfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91f41ac71a773e2016f2f53e08e85c5fc065999d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 16 08:48:30 2015 +0100

    WaE: -Wmaybe-uninitialized
    
    Change-Id: Ie49c6a8067c5223bbe3c86505aa909c2bd5d3c93

diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 2439cd4..5bda4e6 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -569,7 +569,7 @@ bool SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyN
         for (sal_Int32 i = 0;  i < nProps;  ++i)
         {
             const uno::Any &rVal = pValue[i];
-            sal_Int32 nPropertyHandle;
+            sal_Int32 nPropertyHandle(0);
             GetHdlByName( nPropertyHandle, pProperyNames[i], true );
             switch ( nPropertyHandle )
             {


More information about the Libreoffice-commits mailing list