sd/source/core/drawdoc2.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 3b0bb864fbf1b94fe6acc4b3a21e90232a9abd55
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Apr 1 11:25:07 2025 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Apr 2 10:34:53 2025 +0200

    tdf#165473 PPTX hyperlinks to other slides do not work
    
    regression from
        commit c638ae429e500cee147b621ed30d9fed392edd0a
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        Date:   Fri Oct 18 16:21:10 2024 +0200
        don't use iterateItemSurrogates for EE_FEATURE_FIELD
    
    Change-Id: Ibf7a89cb30dd11591152a7e052e4d11ea4bf9407
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183578
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Jenkins
    (cherry picked from commit 719f17554e2e73563cd90593c3f7f6b0eea84f17)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183583
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index ed91f4034046..5f8ab487f9e4 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -306,11 +306,6 @@ static void UpdatePageRelativeURLs(SdrObject& rObj, const 
std::function<void(con
     if (!pOutlinerParagraphObject)
         return;
     EditTextObject& aEdit = 
const_cast<EditTextObject&>(pOutlinerParagraphObject->GetTextObject());
-    if (!aEdit.IsFieldObject())
-        return;
-    const SvxFieldItem* pFieldItem = aEdit.GetField();
-    if (!pFieldItem)
-        return;
     aEdit.GetFieldUpdater().UpdatePageRelativeURLs(rItemCallback);
 };
 

Reply via email to