From a7e564b4836154b84d67814486123eab6cb639c2 Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Fri, 10 Jul 2009 14:03:42 +0200 Subject: #i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible --- crashrep/source/unx/res.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'crashrep/source') diff --git a/crashrep/source/unx/res.cxx b/crashrep/source/unx/res.cxx index 63910d606a09..54968bb2259d 100755 --- a/crashrep/source/unx/res.cxx +++ b/crashrep/source/unx/res.cxx @@ -28,13 +28,6 @@ * ************************************************************************/ -#if OSL_DEBUG_LEVEL == 0 -# ifndef NDEBUG -# define NDEBUG -# endif -#endif -#include - #include #include #include @@ -49,7 +42,7 @@ static string getResFileName( const char* progname ) string aRet = progname; size_t pos = aRet.rfind( '/' ); // FIXME: search PATH if necessary - assert( pos != string::npos ); + OSL_ASSERT( pos != string::npos ); aRet.erase( pos ); aRet.append( "/resource/crash_dump.res" ); -- cgit