diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-24 14:53:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-24 15:15:28 +0100 |
commit | fa15571ba403b4e2050dd3e18e0459107904728b (patch) | |
tree | 1a993503c9c58aa67079eb1d2b9d79c20edfc68a | |
parent | d0af3045c3ff850387385599fdcef7f9ecf407cb (diff) |
valgrind: bIsVirtPageNum uninitialized
valgrind complains about this when viewing a help page
Change-Id: I0f30f8b5121fa5e6ddbac0ea6e05005e40bc7fd9
-rw-r--r-- | sw/source/core/layout/newfrm.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx index 9676a90a8fa4..e9c65f8d00aa 100644 --- a/sw/source/core/layout/newfrm.cxx +++ b/sw/source/core/layout/newfrm.cxx @@ -472,6 +472,14 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) : mbBookMode( false ), mbSidebarChanged( false ), mbNeedGrammarCheck( false ), + bCheckSuperfluous( false ), + bIdleFormat( true ), + bBrowseWidthValid( false ), + bTurboAllowed( true ), + bAssertFlyPages( true ), + bIsVirtPageNum( false ), + bIsNewLayout( true ), + bCallbackActionEnabled ( false ), nBrowseWidth( MM50*4 ), //2cm minimum pTurbo( 0 ), pLastPage( 0 ), @@ -483,8 +491,6 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) : nAccessibleShells( 0 ) { mnType = FRMC_ROOT; - bIdleFormat = bTurboAllowed = bAssertFlyPages = bIsNewLayout = sal_True; - bCheckSuperfluous = bBrowseWidthValid = sal_False; setRootFrm( this ); } |