diff options
author | Marc-Andre Laverdiere <marc-andre@atc.tcs.com> | 2011-07-25 17:23:06 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-09 11:16:42 +0100 |
commit | 443fbeeabc95cd6f38df094bb243ee3fc03bc1f5 (patch) | |
tree | ac0c3b653e9fe54474a787ee41722d265563a820 | |
parent | 3442f6fab00e9a9e211324e0c3818bc634585be5 (diff) |
Fixed valgrind error
Complained about switching on an unitialized value
(cherry picked from commit 5d7caec204e704c62d670cc90a39e8cfc78479c6)
-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 e3de4b9120..73e9f4de67 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; |