sd/source/ui/unoidl/unomodel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8039fa22bf952e24284f2077ed2d9138f301b676
Author:     Henry Castro <[email protected]>
AuthorDate: Fri Oct 10 08:35:28 2025 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Mon Dec 1 18:10:17 2025 +0100

    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]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194874
    Tested-by: Jenkins

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index d826391f63d6..ea6ce5b9cec3 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -4700,7 +4700,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))

Reply via email to