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

coverity#1158448 Uninitialized scalar field

Change-Id: I189503d88d54b32b20d5f866687214cb4af35200
üst 4bc75ba3
...@@ -60,7 +60,9 @@ struct _SaveRedline ...@@ -60,7 +60,9 @@ struct _SaveRedline
sal_Int32 nEndCnt; sal_Int32 nEndCnt;
_SaveRedline( SwRangeRedline* pR, const SwNodeIndex& rSttIdx ) _SaveRedline( SwRangeRedline* pR, const SwNodeIndex& rSttIdx )
: pRedl( pR ) : pRedl(pR)
, nEnd(0)
, nEndCnt(0)
{ {
const SwPosition* pStt = pR->Start(), const SwPosition* pStt = pR->Start(),
* pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark(); * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark();
...@@ -80,7 +82,9 @@ struct _SaveRedline ...@@ -80,7 +82,9 @@ struct _SaveRedline
} }
_SaveRedline( SwRangeRedline* pR, const SwPosition& rPos ) _SaveRedline( SwRangeRedline* pR, const SwPosition& rPos )
: pRedl( pR ) : pRedl(pR)
, nEnd(0)
, nEndCnt(0)
{ {
const SwPosition* pStt = pR->Start(), const SwPosition* pStt = pR->Start(),
* pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark(); * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark();
......
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