diff options
Diffstat (limited to 'vcl/source/window/accel.cxx')
-rw-r--r-- | vcl/source/window/accel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx index bf72b66c1d8e..57c1da27cb64 100644 --- a/vcl/source/window/accel.cxx +++ b/vcl/source/window/accel.cxx @@ -176,7 +176,7 @@ void Accelerator::ImplDeleteData() void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const vcl::KeyCode& rKeyCode, bool bEnable, Accelerator* pAutoAccel ) { - DBG_ASSERT( nItemId, "Accelerator::InsertItem(): ItemId == 0" ); + SAL_WARN_IF( !nItemId, "vcl", "Accelerator::InsertItem(): ItemId == 0" ); if ( rKeyCode.IsFunction() ) { |