summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/svxrtf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/rtf/svxrtf.cxx')
-rw-r--r--editeng/source/rtf/svxrtf.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index b437cb5598d4..3753d1066827 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -985,10 +985,7 @@ SvxRTFItemStackType::SvxRTFItemStackType(
const EditPosition& rPos )
: aAttrSet( rPool, pWhichRange )
, mxStartNodeIdx(rPos.MakeNodeIdx())
-#if !defined(__COVERITY__) || __COVERITY_MAJOR__ > 2023
- // coverity 2020 has difficulty wrt std::optional leading to bogus 'Uninitialized scalar variable'
, mxEndNodeIdx(mxStartNodeIdx)
-#endif
, nSttCnt(rPos.GetCntIdx())
, nEndCnt(nSttCnt)
, nStyleNo(0)
@@ -1001,10 +998,7 @@ SvxRTFItemStackType::SvxRTFItemStackType(
bool const bCopyAttr )
: aAttrSet( *rCpy.aAttrSet.GetPool(), rCpy.aAttrSet.GetRanges() )
, mxStartNodeIdx(rPos.MakeNodeIdx())
-#if !defined(__COVERITY__) || __COVERITY_MAJOR__ > 2023
- // coverity 2020 has difficulty wrt std::optional leading to bogus 'Uninitialized scalar variable'
, mxEndNodeIdx(mxStartNodeIdx)
-#endif
, nSttCnt(rPos.GetCntIdx())
, nEndCnt(nSttCnt)
, nStyleNo(rCpy.nStyleNo)