diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:01:08 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:01:08 +0000 |
commit | 7d43477e4daab5858535e764ccf3856242708588 (patch) | |
tree | bb0d03ff8e461b6041c14bab013659c64a69012e /sj2 | |
parent | b066c93533db642d1666c0812969007402b3a5b8 (diff) |
INTEGRATION: CWS dbgmacros1 (1.13.2.2.2); FILE MERGED
2003/04/10 08:33:43 kso 1.13.2.2.2.1: #108413# - debug macro unification.
Diffstat (limited to 'sj2')
-rw-r--r-- | sj2/source/jscpp/sjapplet_impl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sj2/source/jscpp/sjapplet_impl.cxx b/sj2/source/jscpp/sjapplet_impl.cxx index ad525a146174..362e3986f6b3 100644 --- a/sj2/source/jscpp/sjapplet_impl.cxx +++ b/sj2/source/jscpp/sjapplet_impl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sjapplet_impl.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2003-03-27 11:21:21 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:01:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,7 +94,7 @@ static void testJavaException(JNIEnv * pEnv) throw(com::sun::star::uno::Runtime { jthrowable jtThrowable = pEnv->ExceptionOccurred(); if(jtThrowable) { // is it a java exception ? -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 pEnv->ExceptionDescribe(); #endif pEnv->ExceptionClear(); @@ -259,7 +259,7 @@ void SjApplet2_Impl::init(Window * pParentWin, } -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 OString tmp = OUStringToOString(url, RTL_TEXTENCODING_ASCII_US); OSL_TRACE("SjApplet2_Impl::init - mainUrl: %s\n", tmp.getStr()); #endif @@ -311,7 +311,7 @@ void SjApplet2_Impl::init(Window * pParentWin, String aCmd = rCmd.GetCommand(); String aLoweredCmd = aCmd.ToLowerAscii(); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 OUString command = aCmd; OUString value = rCmd.GetArgument(); OString cmd_tmp = OUStringToOString(command, RTL_TEXTENCODING_ASCII_US); |