sd/source/ui/dlg/PaneShells.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit aa53c45f962de643a44a667589255c6422627de0 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Jul 28 14:26:36 2025 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jul 29 09:55:28 2025 +0200 constify Slots_Impl in sd Change-Id: I20a7a61103541f5fa5ac2338a2d45e3e4a37584f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188475 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> (cherry picked from commit 6265a32f0ab0a1c945df1211b68199afa9c003b7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188487 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sd/source/ui/dlg/PaneShells.cxx b/sd/source/ui/dlg/PaneShells.cxx index 726d1966b2eb..c74117aba8c2 100644 --- a/sd/source/ui/dlg/PaneShells.cxx +++ b/sd/source/ui/dlg/PaneShells.cxx @@ -28,7 +28,7 @@ namespace sd { //===== LeftImpressPaneShell ================================================== -const SfxSlot aLeftImpressPaneShellSlots_Impl[] = +constexpr SfxSlot aLeftImpressPaneShellSlots_Impl[] = { { 0, SfxGroupId::NONE, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, u""_ustr } }; @@ -52,7 +52,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell() //===== BottomImpressPaneShell ================================================== -const SfxSlot aBottomImpressPaneShellSlots_Impl[] +constexpr SfxSlot aBottomImpressPaneShellSlots_Impl[] = { { 0, SfxGroupId::NONE, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, u""_ustr } }; @@ -69,7 +69,7 @@ BottomImpressPaneShell::~BottomImpressPaneShell() {} //===== LeftDrawPaneShell ===================================================== -const SfxSlot aLeftDrawPaneShellSlots_Impl[] = +constexpr SfxSlot aLeftDrawPaneShellSlots_Impl[] = { { 0, SfxGroupId::NONE, SfxSlotMode::NONE, 0, 0, nullptr, nullptr, nullptr, nullptr, nullptr, 0, SfxDisableFlags::NONE, u""_ustr } };