sd/source/core/stlsheet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 888508e8f82d5154fe291bb71846318bce5b21a1 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Aug 18 09:57:11 2025 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Aug 18 15:47:13 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/+/189852 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 29aad0b25273..2c7f648cf25e 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1183,7 +1183,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!"); } }