Kaydet (Commit) fa15571b authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: bIsVirtPageNum uninitialized

valgrind complains about this when viewing a help page

Change-Id: I0f30f8b5121fa5e6ddbac0ea6e05005e40bc7fd9
üst d0af3045
...@@ -472,6 +472,14 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) : ...@@ -472,6 +472,14 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
mbBookMode( false ), mbBookMode( false ),
mbSidebarChanged( false ), mbSidebarChanged( false ),
mbNeedGrammarCheck( false ), mbNeedGrammarCheck( false ),
bCheckSuperfluous( false ),
bIdleFormat( true ),
bBrowseWidthValid( false ),
bTurboAllowed( true ),
bAssertFlyPages( true ),
bIsVirtPageNum( false ),
bIsNewLayout( true ),
bCallbackActionEnabled ( false ),
nBrowseWidth( MM50*4 ), //2cm minimum nBrowseWidth( MM50*4 ), //2cm minimum
pTurbo( 0 ), pTurbo( 0 ),
pLastPage( 0 ), pLastPage( 0 ),
...@@ -483,8 +491,6 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) : ...@@ -483,8 +491,6 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
nAccessibleShells( 0 ) nAccessibleShells( 0 )
{ {
mnType = FRMC_ROOT; mnType = FRMC_ROOT;
bIdleFormat = bTurboAllowed = bAssertFlyPages = bIsNewLayout = sal_True;
bCheckSuperfluous = bBrowseWidthValid = sal_False;
setRootFrm( this ); setRootFrm( this );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment