sw/source/core/layout/fly.cxx | 2 +- vcl/workben/fftester.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit a4378f8c3dd141e4b2d9dba53284ab356ea2d132 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Mar 6 16:27:33 2026 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Mar 6 20:08:42 2026 +0100 cid#1684046 silence Unchecked return value Change-Id: I037bf16d221c01693a016ec9a65ab9628a008a97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201142 Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index f073909bad68..406bbea264a9 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -119,7 +119,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) OUString cwd; osl_getProcessWorkingDir(&cwd.pData); - osl::File::getAbsoluteFileURL(cwd, out, out); + (void)osl::File::getAbsoluteFileURL(cwd, out, out); tools::extendApplicationEnvironment(); commit 2136fac6e77e4e47aac71467fe2e74a9451e51b8 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Mar 6 16:25:28 2026 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Mar 6 20:08:31 2026 +0100 cid#1684040 Dereference before null check harmless redundant check, seems to have always been like this but coverity started warning about it Change-Id: I43c3e5138bd7a819a07c85ebda590240ea71d7fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201141 Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 418208bf1906..a391516e1795 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -1283,7 +1283,7 @@ void SwFlyFrame::UpdateAttrForFormatChange( SwFormat *pOldFormat, SwFormat *pNew SwFormatURL aURL( GetFormat()->GetURL() ); - if (aURL.GetMap() && pOldFormat) + if (aURL.GetMap()) { const SwFormatFrameSize &rOld = pOldFormat->GetFrameSize(); //#35091# Can be "times zero", when loading the template
