sc/source/ui/docshell/docsh4.cxx | 1 + sw/source/core/doc/tblrwcl.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
New commits: commit acf90e0c01be7b6af48076e9d2529d43ff00239f Author: Caolán McNamara <[email protected]> AuthorDate: Fri Dec 5 08:45:06 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Dec 5 11:29:05 2025 +0100 cid#1675333 silence Arguments in wrong order Change-Id: Iadc302b50a66c735780a38edecf8d1c1bba66905 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195055 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index f2e8c08ba80c..a518a06c1a78 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -632,6 +632,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) aNewPageItem.SetLandscape(bDesiredLandscape); Size aOld = rOldSizeItem.GetSize(); + // coverity[swapped_arguments : FALSE] - this is in the correct order Size aNew(aOld.Height(), aOld.Width()); // swap W/H SvxSizeItem aNewSizeItem(ATTR_PAGE_SIZE, aNew); commit e9d39d47cf4a74fb5ace5c1036100d9dacacfa09 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Dec 5 08:42:11 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Dec 5 11:28:56 2025 +0100 cid#1675332 silence Dereference null return value Change-Id: I1786bf52cfff1ee183ad9d287cf2cbfe76435d31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195054 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index 6c25bdc97543..af3bfcc2c590 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -1034,7 +1034,7 @@ bool SwTable::OldSplitRow( SwDoc& rDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCn { SwTableBox* pSelBox = rBoxes[n]; const SwRowFrame* pRow = GetRowFrame( *pSelBox->GetUpper() ); - OSL_ENSURE( pRow, "Where is the SwTableLine's Frame?" ); + assert(pRow && "Where is the SwTableLine's Frame?"); SwRectFnSet aRectFnSet(pRow); pRowHeights[ n ] = aRectFnSet.GetHeight(pRow->getFrameArea()); }
