From 2ff3716fda13782e8e919982c3698d623d168a65 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Thu, 25 Sep 2025 08:41:57 -0400 Subject: [PATCH] sd: add more text types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I48da3afefcabfd5a917a20ca0976e3852460f3be Signed-off-by: Henry Castro Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191507 Tested-by: Jenkins CollaboraOffice Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191540 Tested-by: Jenkins --- sd/source/ui/unoidl/unomodel.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 59e8da020e54..97fa3844fbe2 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -4669,7 +4669,11 @@ OString SdXImpressDocument::getPresentationInfo() const for (size_t nNote = 0; nNote < pNotesPage->GetObjCount(); nNote++) { pItObj = pNotesPage->GetObj(nNote); - if (pItObj && pItObj->GetObjIdentifier() == SdrObjKind::Text) + + if (pItObj && + (pItObj->GetObjIdentifier() == SdrObjKind::Text + || pItObj->GetObjIdentifier() == SdrObjKind::TitleText + || pItObj->GetObjIdentifier() == SdrObjKind::OutlineText)) { pNotes = pItObj; break;