diff options
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 5 | ||||
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 9ab086f593cc..796444644a2f 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -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()); } diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 77c25e454a85..48b88baf99c1 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -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; |