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.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user