sd/source/core/stlsheet.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 003449bd9ff89d64f77167363157d122a1fe3869
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Aug 18 09:57:11 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Aug 18 14:04:42 2025 +0200

    reduce the 'Returnvalue has wrong Type' log spam
    
    if there was no result found don't misleadingly warn that it's of the
    wrong type
    
    Change-Id: I647c847e68a6ac7ca93f7fc860a8e376acce06e1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189853
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index db64921180f7..9d1a75672f3b 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -1182,7 +1182,7 @@ css::uno::Any SdStyleSheet::getPropertyValue_Impl(const 
OUString& PropertyName)
         }
         else
         {
-            OSL_FAIL("SvxShape::GetAnyForItem() Returnvalue has wrong Type!" );
+            SAL_WARN_IF(aAny.hasValue(), "sd", "SvxShape::GetAnyForItem() 
Returnvalue has wrong Type!");
         }
     }
 

Reply via email to