[Libreoffice-commits] core.git: editeng/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jun 5 14:51:19 UTC 2021
editeng/source/rtf/svxrtf.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d6eb61707c15cda590cd16e9cbdce2b193889ff0
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jun 5 14:39:03 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 5 16:50:37 2021 +0200
cid#1485166 silence Uninitialized scalar variable
the markup in the other case seemed to work
Change-Id: I2276f370b3f696082fd4ebfcbd29a13e2bea85ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116747
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 9d5f3abe84ec..661a6cb11163 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -949,6 +949,7 @@ SvxRTFItemStackType::SvxRTFItemStackType(
bool const bCopyAttr )
: aAttrSet( *rCpy.aAttrSet.GetPool(), rCpy.aAttrSet.GetRanges() )
, mxStartNodeIdx(rPos.MakeNodeIdx())
+ // coverity[read_parm_fld : FALSE] - difficulty with std::optional leading to bogus 'Uninitialized scalar variable'
, mxEndNodeIdx(mxStartNodeIdx)
, nSttCnt(rPos.GetCntIdx())
, nEndCnt(nSttCnt)
More information about the Libreoffice-commits
mailing list