diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 10:30:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 11:10:34 +0100 |
commit | d49430893e88bd4327e0f004c0e4b32c65225117 (patch) | |
tree | 0cf3105575f7aa16c7c7b7ed0aebce19e0444af2 /editeng | |
parent | 4d5979d35ae4a58f62e00c42b1af071f13686baa (diff) |
coverity#1325077 Uninitialized pointer field
Change-Id: I74121c1cc94edf338cf40a3d186308491e1d2409
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/overflowingtxt.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index 945a845ffe4b..6ead858b85b5 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -135,16 +135,15 @@ ESelection OverflowingText::GetInsertionPointSel() // class NonOverflowingText -NonOverflowingText::NonOverflowingText(const EditTextObject *pTObj, bool bLastParaInterrupted) - : mpContentTextObj(pTObj->Clone()), - mbLastParaInterrupted(bLastParaInterrupted) +NonOverflowingText::NonOverflowingText(const EditTextObject * /*pTObj*/, bool bLastParaInterrupted) + : mbLastParaInterrupted(bLastParaInterrupted) { // XXX: may have to delete pTObj } NonOverflowingText::NonOverflowingText(const ESelection &aSel, bool bLastParaInterrupted) - : maContentSel(aSel), - mbLastParaInterrupted(bLastParaInterrupted) + : maContentSel(aSel) + , mbLastParaInterrupted(bLastParaInterrupted) { } |