diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:38:15 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:38:15 +0100 |
commit | fcb8fd3ba59210dd3f51f8ee164a8549e751032d (patch) | |
tree | 45b40d807d524127bd9f410478ded435b37d3c60 /vcl | |
parent | fe58c1ad8a925b1f5ed4be033c8858f5c268da8c (diff) |
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/source/dtrans/X11_selection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/source/dtrans/X11_selection.cxx b/vcl/unx/source/dtrans/X11_selection.cxx index b2ac2fdad30c..66f3b1a0c9b1 100644 --- a/vcl/unx/source/dtrans/X11_selection.cxx +++ b/vcl/unx/source/dtrans/X11_selection.cxx @@ -2394,7 +2394,7 @@ void SelectionManager::dropComplete( sal_Bool bSuccess, XLIB_Window aDropWindow, m_bDropWaitingForCompletion = false; } else - OSL_ASSERT( "dropComplete from invalid DropTargetDropContext" ); + OSL_FAIL( "dropComplete from invalid DropTargetDropContext" ); } /* @@ -3970,7 +3970,7 @@ void SelectionManager::registerDropTarget( XLIB_Window aWindow, DropTarget* pTar ::boost::unordered_map< XLIB_Window, DropTargetEntry >::const_iterator it = m_aDropTargets.find( aWindow ); if( it != m_aDropTargets.end() ) - OSL_ASSERT( "attempt to register window as drop target twice" ); + OSL_FAIL( "attempt to register window as drop target twice" ); else if( aWindow && m_pDisplay ) { DropTargetEntry aEntry( pTarget ); @@ -4001,7 +4001,7 @@ void SelectionManager::registerDropTarget( XLIB_Window aWindow, DropTarget* pTar m_aDropTargets[ aWindow ] = aEntry; } else - OSL_ASSERT( "attempt to register None as drop target" ); + OSL_FAIL( "attempt to register None as drop target" ); } // ------------------------------------------------------------------------ |