xmloff/source/text/txtparae.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit bc48de1cb6cb700552e2ec86bc08e064693451bd
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sun Oct 12 15:41:58 2025 +0500
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sun Oct 12 15:47:48 2025 +0200

    Drop an unneeded OSL_ENSURE
    
    This happens in exportTextRangeEnumeration, when URL ends (so the next
    HyperlinkData is empty). A normal situation, warning is not needed.
    
    Change-Id: I838785b58fb0ee2033d5604e373f3fe6f3bbaeca
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192247
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index fd9e76be62f3..b60abf98514d 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -384,8 +384,7 @@ namespace
     {
         if (href.isEmpty())
         {
-            // hyperlink without a URL does not make sense
-            OSL_ENSURE(false, "hyperlink without a URL --> no export to ODF");
+            // End of hyperlink
             return false;
         }
 

Reply via email to