diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 11:23:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 16:17:08 +0100 |
commit | 9759de7a885ffe02d83a9c9aef7678c3e673bd5a (patch) | |
tree | ea91a9f4408cca66dbaebf6b07bc8544bbbf508b /sfx2 | |
parent | dd3a00ffd5e67d74a4dbcdf9a2e8482eab19ce5d (diff) |
Adapt to sal/log.hxx
Change-Id: I7afe7bfe295dfa20206fdb6bc10da8ea31adb47e
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/ctrlitem.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx index dfeb6e86fc0b..762724fd391d 100644 --- a/sfx2/source/control/ctrlitem.cxx +++ b/sfx2/source/control/ctrlitem.cxx @@ -42,12 +42,10 @@ void SfxControllerItem::CheckConfigure_Impl( sal_uIntPtr nType ) // is the ID configurable at all in 'nType'? const SfxSlot *pSlot = SFX_SLOTPOOL().GetSlot(nId); DBG_ASSERTWARNING( pSlot, "SfxControllerItem: binding not existing slot" ); - if ( pSlot && !pSlot->IsMode(nType) ) - { - DBG_WARNING( "SfxControllerItem: slot without ...Config-flag" ); - DbgOutf( "SfxControllerItem: Config-flag missing at SID %5d", - pSlot->GetSlotId() ); - } + SAL_WARN_IF( + pSlot && !pSlot->IsMode(nType), "sfx.control", + "SfxControllerItem: slot without ...Config-flag at SID " + << pSlot->GetSlotId()); } #endif |