sd/source/ui/unoidl/unomodel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9a14de30d978818c73786e79d34fd07f0631648b Author: Henry Castro <[email protected]> AuthorDate: Fri Oct 10 08:35:28 2025 -0400 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Oct 13 14:41:40 2025 +0200 sd: ensure non-empty text objects Change-Id: I289db4bb5ee2c494d88f737bac8141b2385afda9 Signed-off-by: Henry Castro <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192166 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index c200773c38b6..e5d508183504 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -4710,7 +4710,7 @@ OString SdXImpressDocument::getPresentationInfo(bool bAllyState) const { pItObj = pNotesPage->GetObj(nNote); - if (pItObj && + if (pItObj && pItObj->HasText() && (pItObj->GetObjIdentifier() == SdrObjKind::Text || pItObj->GetObjIdentifier() == SdrObjKind::TitleText || pItObj->GetObjIdentifier() == SdrObjKind::OutlineText))
