[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Aug 9 03:16:48 PDT 2011
sw/source/core/layout/wsfrm.cxx | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
New commits:
commit 443fbeeabc95cd6f38df094bb243ee3fc03bc1f5
Author: Marc-Andre Laverdiere <marc-andre at atc.tcs.com>
Date: Mon Jul 25 17:23:06 2011 +0530
Fixed valgrind error
Complained about switching on an unitialized value
(cherry picked from commit 5d7caec204e704c62d670cc90a39e8cfc78479c6)
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index e3de4b9..73e9f4d 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -96,12 +96,13 @@ SwFrm::SwFrm( SwModify *pMod, SwFrm* pSib ) :
pUpper( 0 ),
pNext( 0 ),
pPrev( 0 ),
- pDrawObjs( 0 )
- , bInfBody( sal_False )
- , bInfTab ( sal_False )
- , bInfFly ( sal_False )
- , bInfFtn ( sal_False )
- , bInfSct ( sal_False )
+ pDrawObjs( 0 ),
+ nType(0),
+ bInfBody( sal_False ),
+ bInfTab ( sal_False ),
+ bInfFly ( sal_False ),
+ bInfFtn ( sal_False ),
+ bInfSct ( sal_False )
{
#if OSL_DEBUG_LEVEL > 1
bFlag01 = bFlag02 = bFlag03 = bFlag04 = bFlag05 = 0;
More information about the Libreoffice-commits
mailing list