include/sal/types.h | 2 +- sd/source/ui/func/funavig.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit ec0e6262109b214d2e6ffcde8eddfcb25f32f899 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Wed Jul 30 10:23:25 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Jul 30 14:45:27 2025 +0200 cid#1659798 Unchecked dynamic_cast Change-Id: I989c1189347552622a6eb9e675de424f4602c4e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188587 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sd/source/ui/func/funavig.cxx b/sd/source/ui/func/funavig.cxx index 20642205398e..ee2c530b9374 100644 --- a/sd/source/ui/func/funavig.cxx +++ b/sd/source/ui/func/funavig.cxx @@ -170,8 +170,8 @@ void FuNavigation::DoExecute( SfxRequest& rReq ) weld::DialogController::runAsync(xDialog, [xDialog, xRequest, xThis](sal_uInt32 nResult) { if (nResult == RET_OK) { - auto pDrawViewShell2 = dynamic_cast<DrawViewShell *>(&xThis->mrViewShell); - pDrawViewShell2->SwitchPage(xDialog->GetPageSelection() - 1); + DrawViewShell& rDrawViewShell2 = dynamic_cast<DrawViewShell&>(xThis->mrViewShell); + rDrawViewShell2.SwitchPage(xDialog->GetPageSelection() - 1); } xThis->Finish(); xRequest->Done(); commit a545cf476766342987bd6f2cc6e64726325eac05 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Wed Jul 30 10:20:13 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Jul 30 14:45:19 2025 +0200 cid#1660813 etc, push the boat out for another coverity major cycle Change-Id: I9077a58362423febca6e63cacc404c346d9af87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188586 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/include/sal/types.h b/include/sal/types.h index eaaf69af250d..8d220652ea68 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -361,7 +361,7 @@ typedef struct _sal_Sequence which won't throw in practice, or where std::terminate is an acceptable response if they do */ -#if defined(LIBO_INTERNAL_ONLY) && defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023 +#if defined(LIBO_INTERNAL_ONLY) && defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2024 # define COVERITY_NOEXCEPT_FALSE noexcept(false) #else # define COVERITY_NOEXCEPT_FALSE