summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/control/dispatch.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 691166c65108..9ab086f593cc 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -2101,9 +2101,8 @@ bool SfxDispatcher::_FillState
if ( !IsInvalidItem(pItem) && !pItem->ISA(SfxVoidItem) )
{
sal_uInt16 nSlotId = rState.GetPool()->GetSlotId(pItem->Which());
- SAL_WARN_IF(
- !pItem->IsA(pIF->GetSlot(nSlotId)->GetType()->Type()),
- "sfx.control",
+ if (!pItem->IsA(pIF->GetSlot(nSlotId)->GetType()->Type()))
+ SAL_INFO("sfx.control",
"item-type unequal to IDL (=> no BASIC) with SID: "
<< nSlotId << " in " << pIF->GetClassName());
}