diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-02 09:35:58 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-02 09:43:16 +0200 |
commit | e3495f475e5ed2ca5f17a33301f3bf6fdbbf8cf8 (patch) | |
tree | c5b17d4201d660ea9411dd1a88d1a4e429ac80f8 | |
parent | 54d913aa74962781e31290d9bb7e2d95212d994c (diff) |
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
-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; |