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

coverity#738883 Uninitialized scalar field

Change-Id: Ica1335690e9204a5e9b445ad9583da739dce5bff

and coverity#738882 Uninitialized scalar field

Change-Id: Ief58f36c70e16eabe8b4e3ccbc82fc9ca3309d94
üst 5e5ce376
...@@ -2581,12 +2581,25 @@ void SwCrsrShell::ParkCrsr( const SwNodeIndex &rIdx ) ...@@ -2581,12 +2581,25 @@ void SwCrsrShell::ParkCrsr( const SwNodeIndex &rIdx )
All views of a document are in the ring of the shell. All views of a document are in the ring of the shell.
*/ */
SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, Window *pInitWin ) SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, Window *pInitWin )
: SwViewShell( rShell, pInitWin ), : SwViewShell( rShell, pInitWin )
SwModify( 0 ), m_pCrsrStk( 0 ), m_pBlockCrsr( 0 ), m_pTblCrsr( 0 ), , SwModify( 0 )
m_pBoxIdx( 0 ), m_pBoxPtr( 0 ), m_nCrsrMove( 0 ), m_nBasicActionCnt( 0 ), , m_pCrsrStk( 0 )
m_eMvState( MV_NONE ), , m_pBlockCrsr( 0 )
m_sMarkedListId(), , m_pTblCrsr( 0 )
m_nMarkedListLevel( 0 ), m_oldColFrm(0) , m_pBoxIdx( 0 )
, m_pBoxPtr( 0 )
, m_nUpDownX(0)
, m_nLeftFrmPos(0)
, m_nAktNode(0)
, m_nAktCntnt(0)
, m_nAktNdTyp(0)
, m_bAktSelection(false)
, m_nCrsrMove( 0 )
, m_nBasicActionCnt( 0 )
, m_eMvState( MV_NONE )
, m_sMarkedListId()
, m_nMarkedListLevel( 0 )
, m_oldColFrm(0)
{ {
SET_CURR_SHELL( this ); SET_CURR_SHELL( this );
// only keep the position of the current cursor of the copy shell // only keep the position of the current cursor of the copy shell
...@@ -2610,12 +2623,25 @@ SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, Window *pInitWin ) ...@@ -2610,12 +2623,25 @@ SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, Window *pInitWin )
/// default constructor /// default constructor
SwCrsrShell::SwCrsrShell( SwDoc& rDoc, Window *pInitWin, SwCrsrShell::SwCrsrShell( SwDoc& rDoc, Window *pInitWin,
const SwViewOption *pInitOpt ) const SwViewOption *pInitOpt )
: SwViewShell( rDoc, pInitWin, pInitOpt ), : SwViewShell( rDoc, pInitWin, pInitOpt )
SwModify( 0 ), m_pCrsrStk( 0 ), m_pBlockCrsr( 0 ), m_pTblCrsr( 0 ), , SwModify( 0 )
m_pBoxIdx( 0 ), m_pBoxPtr( 0 ), m_nCrsrMove( 0 ), m_nBasicActionCnt( 0 ), , m_pCrsrStk( 0 )
m_eMvState( MV_NONE ), // state for crsr-travelling - GetCrsrOfst , m_pBlockCrsr( 0 )
m_sMarkedListId(), , m_pTblCrsr( 0 )
m_nMarkedListLevel( 0 ), m_oldColFrm(0) , m_pBoxIdx( 0 )
, m_pBoxPtr( 0 )
, m_nUpDownX(0)
, m_nLeftFrmPos(0)
, m_nAktNode(0)
, m_nAktCntnt(0)
, m_nAktNdTyp(0)
, m_bAktSelection(false)
, m_nCrsrMove( 0 )
, m_nBasicActionCnt( 0 )
, m_eMvState( MV_NONE ) // state for crsr-travelling - GetCrsrOfst
, m_sMarkedListId()
, m_nMarkedListLevel( 0 )
, m_oldColFrm(0)
{ {
SET_CURR_SHELL( this ); SET_CURR_SHELL( this );
// create initial cursor and set it to first content position // create initial cursor and set it to first content position
......
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