Kaydet (Commit) e3495f47 authored tarafından Miklos Vajna's avatar Miklos Vajna

GraphicFilter::LoadGraphic: SAL_WARN -> SAL_INFO

Only the caller can decide if trying to load a graphic is really a
problem, e.g. in case no persona is configured, then loading its header
is OK.

Change-Id: I7286b7d907940fa3a80f6256cd5264cbd5718fb8
üst 54d913aa
......@@ -2101,8 +2101,9 @@ bool SfxDispatcher::_FillState
if ( !IsInvalidItem(pItem) && !pItem->ISA(SfxVoidItem) )
{
sal_uInt16 nSlotId = rState.GetPool()->GetSlotId(pItem->Which());
if (!pItem->IsA(pIF->GetSlot(nSlotId)->GetType()->Type()))
SAL_INFO("sfx.control",
SAL_INFO_IF(
!pItem->IsA(pIF->GetSlot(nSlotId)->GetType()->Type()),
"sfx.control",
"item-type unequal to IDL (=> no BASIC) with SID: "
<< nSlotId << " in " << pIF->GetClassName());
}
......
......@@ -2311,7 +2311,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
break;
}
SAL_WARN_IF( nRes, "vcl.filter", "Problem importing graphic " << rPath << ". Reason: " << aReturnString );
SAL_INFO_IF( nRes, "vcl.filter", "Problem importing graphic " << rPath << ". Reason: " << aReturnString );
#endif
return nRes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment