summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-08 20:11:03 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-08 20:22:01 +0200
commit4136e6575e6ed55e30c3eb00061f2af0863aa970 (patch)
tree9eac8ef91925a6553486e4b9ee6f56252267dd38
parent8e7a1ad17cdcd677e40865daa9bbdbe69927360d (diff)
dispatch: print some info what is going on
Change-Id: Ifa0637c197546ed43f7a6b39744ba1949b00e3f9
-rw-r--r--sfx2/source/control/dispatch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index d7f259285284..16a83a1dc06e 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1473,7 +1473,7 @@ void SfxDispatcher::_Update_Impl( sal_Bool bUIActive, sal_Bool bIsMDIApp, sal_Bo
{
sal_uInt32 nId = pIFace->GetChildWindowId(nNo);
const SfxSlot *pSlot = pSlotPool->GetSlot( (sal_uInt16) nId );
- DBG_ASSERT( pSlot, "Childwindow slot missing!");
+ SAL_WARN_IF( !pSlot, "sfx2.control", "Childwindow slot missing: " << nId );
if ( bReadOnlyShell )
{
// only show ChildWindows if their slot is allowed for readonly documents