sw/source/core/fields/cellfml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7b09fbe825ffdd37bdb6463d116c16d8714fcb81
Author: Tor Lillqvist <t...@iki.fi>
Date:   Mon Aug 12 21:53:39 2013 +0300

    WaE: 'pTmpTbl' may be used uninitialized in this function
    
    Change-Id: Ica920101fe075e3e45564ac7eced9e40cc2769b8

diff --git a/sw/source/core/fields/cellfml.cxx 
b/sw/source/core/fields/cellfml.cxx
index 1e670da..c27664a 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -663,7 +663,7 @@ String SwTableFormula::ScanString( FnScanFormel fnFormel, 
const SwTable& rTbl,
 const SwTable* SwTableFormula::FindTable( SwDoc& rDoc, const OUString& rNm ) 
const
 {
     const SwFrmFmts& rTblFmts = *rDoc.GetTblFrmFmts();
-    const SwTable* pTmpTbl, *pRet = 0;
+    const SwTable* pTmpTbl = 0, *pRet = 0;
     for( sal_uInt16 nFmtCnt = rTblFmts.size(); nFmtCnt; )
     {
         SwFrmFmt* pFmt = rTblFmts[ --nFmtCnt ];
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to