sc/source/core/tool/dbdata.cxx | 2 +- sd/source/ui/view/ToolBarManager.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1f15d097cace14ca6e44e7652f460aa3fa7bd150 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jun 2 12:17:21 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sun Jun 2 22:46:51 2024 +0200 cid#1602446 silence Unchecked return value Change-Id: Idddff2f08dda1d43a197824fca82b69f7c212648 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168345 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index c2096b39c4d1..596f50f756a5 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -1598,7 +1598,7 @@ void ScDBCollection::CopyToTable(SCTAB nOldPos, SCTAB nNewPos) std::unique_ptr<ScDBData> pDataCopy = std::make_unique<ScDBData>(newName, *rxNamedDB); pDataCopy->UpdateMoveTab(nOldPos, nNewPos); pDataCopy->SetIndex(0); - maNamedDBs.insert(std::move(pDataCopy)); + (void)maNamedDBs.insert(std::move(pDataCopy)); } } commit 68060a0213abbb9a6e16358f8deea4980dd22565 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jun 2 12:11:43 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sun Jun 2 22:46:39 2024 +0200 cid#1602445 silence Uncaught exception Change-Id: I3427f747859d9c1f144932b5966dc44c699b0ec9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168344 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 545b3b748685..c8f40b99a0ef 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -287,7 +287,7 @@ public: public: explicit UpdateLockImplementation (Implementation& rImplementation) : mrImplementation(rImplementation) { mrImplementation.LockUpdate(); } - ~UpdateLockImplementation() { mrImplementation.UnlockUpdate(); } + ~UpdateLockImplementation() { suppress_fun_call_w_exception(mrImplementation.UnlockUpdate()); } private: Implementation& mrImplementation; };