From 74fa31e12355a45476458d0e6f907894bf4793cd Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 10:02:47 +1000 Subject: tdf#43157: convert sfx2 module away from OSL_ASSERT to assert Change-Id: I3facbef60a0d629db8f3028dd1b9f38e8f17e83e --- sfx2/source/toolbox/tbxitem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/toolbox') diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 5aed453f2392..74ee50a7f3e8 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -104,7 +104,7 @@ SFX_IMPL_TOOLBOX_CONTROL_ARG(SfxToolBoxControl, SfxStringItem, true); static vcl::Window* GetTopMostParentSystemWindow( vcl::Window* pWindow ) { - OSL_ASSERT( pWindow ); + assert( pWindow ); if ( pWindow ) { // ->manually search topmost system window @@ -118,7 +118,7 @@ static vcl::Window* GetTopMostParentSystemWindow( vcl::Window* pWindow ) pWindow = pWindow->GetParent(); } pWindow = pTopMostSysWin; - OSL_ASSERT( pWindow ); + assert( pWindow ); return pWindow; } -- cgit