diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 5 |
1 files changed, 3 insertions, 2 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()); } |