sw/source/filter/html/htmlsect.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 72292a7e87b7970401ffb4762a40177f65d22989
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue May 27 12:13:02 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue May 27 15:58:24 2025 +0200

    ofz#420267110 sanitize anchor for InsertFlyFrame too
    
    Change-Id: If3b5e037428b3e860648b978195b1e6c3b95fcec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185897
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/filter/html/htmlsect.cxx 
b/sw/source/filter/html/htmlsect.cxx
index 550e2c99681c..c966435a2268 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -641,6 +641,8 @@ void SwHTMLParser::NewMultiCol( sal_uInt16 columnsFromCss )
             aPropInfo.m_aId.clear();
         }
 
+        SanitizeAnchor(aFrameItemSet);
+
         InsertFlyFrame(aFrameItemSet, xCntxt.get(), UIName(aFlyName));
 
         xCntxt->SetPopStack( true );

Reply via email to