sd/source/ui/view/NotesPanelViewShell.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 2d2ba2a44bdd6c970571b39573d8dbcf7add0f11 Author: Thorsten Behrens <thorsten.behr...@allotropia.de> AuthorDate: Sun Apr 7 16:51:20 2024 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Sun Apr 7 16:51:20 2024 +0200 Fix build for Win x64 This was triggering "warning C4715: 'sd::NotesPanelViewShell::getCurrentPage': not all control paths return a value" otherwise. Change-Id: I96dedd026faa2c5ff2729eb1f93e426ef5746de8 diff --git a/sd/source/ui/view/NotesPanelViewShell.cxx b/sd/source/ui/view/NotesPanelViewShell.cxx index a3b38e62f621..a8902f1eacf4 100644 --- a/sd/source/ui/view/NotesPanelViewShell.cxx +++ b/sd/source/ui/view/NotesPanelViewShell.cxx @@ -272,6 +272,7 @@ SdPage* NotesPanelViewShell::getCurrentPage() const return GetDoc()->GetSdPage((pCurrentPage->GetPageNum() - 1) >> 1, PageKind::Notes); case PageKind::Notes: return pCurrentPage; + default: case PageKind::Handout: return nullptr; }