summaryrefslogtreecommitdiff
path: root/crashrep
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commita7e564b4836154b84d67814486123eab6cb639c2 (patch)
treedd2acabfabf9b8fa8052e9406c5d51ec14a9b9da /crashrep
parent87b38cb17d0443b890befe17043698841175d285 (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'crashrep')
-rwxr-xr-xcrashrep/source/unx/res.cxx9
1 files changed, 1 insertions, 8 deletions
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 <assert.h>
-
#include <interface.hxx>
#include <cstdio>
#include <hash_map>
@@ -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" );