diff options
author | Marc-Andre Laverdiere <marc-andre@atc.tcs.com> | 2011-07-25 17:23:06 +0530 |
---|---|---|
committer | Marc-Andre Laverdiere <marc-andre@atc.tcs.com> | 2011-07-29 11:15:19 +0530 |
commit | 5d7caec204e704c62d670cc90a39e8cfc78479c6 (patch) | |
tree | 6fab57d2cf0ed5b2b117d6728c4d362927e4d190 | |
parent | a1c11fa56aef80b4a9a47054029613fb06a30832 (diff) |
Fixed valgrind error
Complained about switching on an unitialized value
-rw-r--r-- | sw/source/core/layout/wsfrm.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index 9aafc0dc77..e49871d8b5 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -95,12 +95,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; |