summaryrefslogtreecommitdiff
path: root/sal/osl/unx/diagnose.c
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-21 14:33:09 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-21 14:33:09 +0000
commit9b3729fed585184f95be04f6c697b35259c38c86 (patch)
tree4b3748621473a96da65f008810cc0970bcaed677 /sal/osl/unx/diagnose.c
parent4434828834ff59545022c3afce2cb55f568ee523 (diff)
#i10000# use DISABLE_SAL_DBGBOX for UNIX too
Diffstat (limited to 'sal/osl/unx/diagnose.c')
-rw-r--r--sal/osl/unx/diagnose.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sal/osl/unx/diagnose.c b/sal/osl/unx/diagnose.c
index 8c5470105c4d..1dce3b084598 100644
--- a/sal/osl/unx/diagnose.c
+++ b/sal/osl/unx/diagnose.c
@@ -2,9 +2,9 @@
*
* $RCSfile: diagnose.c,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: obo $ $Date: 2005-04-20 11:59:57 $
+ * last change: $Author: obo $ $Date: 2005-04-21 15:33:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -150,7 +150,8 @@ static void osl_diagnose_frame_Impl (
sname ? sname : "???",
offset);
- OSL_DIAGNOSE_OUTPUTMESSAGE(f, szMessage);
+ if ( !getenv("DISABLE_SAL_DBGBOX") || 0 != f )
+ OSL_DIAGNOSE_OUTPUTMESSAGE(f, szMessage);
}
/************************************************************************/