[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Thu Oct 24 07:15:49 PDT 2013
sw/source/core/layout/newfrm.cxx | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
New commits:
commit fa15571ba403b4e2050dd3e18e0459107904728b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Oct 24 14:53:53 2013 +0100
valgrind: bIsVirtPageNum uninitialized
valgrind complains about this when viewing a help page
Change-Id: I0f30f8b5121fa5e6ddbac0ea6e05005e40bc7fd9
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index 9676a90..e9c65f8 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 );
}
More information about the Libreoffice-commits
mailing list