summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:00:56 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:00:56 +0000
commitb066c93533db642d1666c0812969007402b3a5b8 (patch)
tree1335b414cd1887b2751fe6e87011b5190eba36eb /sj2
parented15f525fcd1c58a1ac4f4abfefb806518e63d14 (diff)
INTEGRATION: CWS dbgmacros1 (1.8.42); FILE MERGED
2003/04/10 08:33:43 kso 1.8.42.1: #108413# - debug macro unification.
Diffstat (limited to 'sj2')
-rw-r--r--sj2/source/jscpp/sjapplet.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sj2/source/jscpp/sjapplet.cxx b/sj2/source/jscpp/sjapplet.cxx
index 89c6b654aa11..1a96b7d1ac5e 100644
--- a/sj2/source/jscpp/sjapplet.cxx
+++ b/sj2/source/jscpp/sjapplet.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sjapplet.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jl $ $Date: 2001-11-22 13:45:15 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:00:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -103,7 +103,7 @@ void SjApplet2::Init(Window * pParentWin, const INetURLObject & rDocBase, const
_pImpl->init(pParentWin, getProcessServiceFactory(), rDocBase, rCmdList);
}
catch(RuntimeException & runtimeException) {
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
OString message = OUStringToOString(runtimeException.Message, RTL_TEXTENCODING_ASCII_US);
OSL_TRACE("sjapplet.cxx: SjApplet2::Init - exception occurred: %s\n", message.getStr());
#endif