diff options
Diffstat (limited to 'sw/source/uibase/uiview/viewsrch.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewsrch.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx index c94038539893..0c08d996dd27 100644 --- a/sw/source/uibase/uiview/viewsrch.cxx +++ b/sw/source/uibase/uiview/viewsrch.cxx @@ -498,13 +498,7 @@ void SwView::ExecSearch(SfxRequest& rReq) } break; default: -#if OSL_DEBUG_LEVEL > 1 - if(nSlot) - { - OString sStr("nSlot: " + OString::number(nSlot) + " wrong Dispatcher (viewsrch.cxx)"); - OSL_FAIL(sStr.getStr()); - } -#endif + SAL_WARN_IF( nSlot, "sw", "nSlot: " << nSlot << " wrong Dispatcher (viewsrch.cxx)" ); return; } } |