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
commit270aba605995d81f6ec5e48ab2f805e8bb4002c4 (patch)
treec9d51c618b043cc3fc1010ea0a722fb1572d7476 /sj2
parent063ace526cce863340145a66f1b921064b53cd0a (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.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sj2/source/jscpp/sjapplet.cxx b/sj2/source/jscpp/sjapplet.cxx
index 7d80025ce7..78f52ad994 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
@@ -85,7 +85,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::java;
-SjApplet2::SjApplet2()
+SjApplet2::SjApplet2()
: _pImpl(new SjApplet2_Impl())
{
}
@@ -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
@@ -218,12 +218,12 @@ class SjJavaSettings : public ApplicationProperty
UINT32 nMaxHeapSize; // Maximum heap size (default 0 -> JavaDefault)
UINT32 nVerifyMode; // controls whether Java byte code should be verified:
- // 0 -- none,
- // 1 -- remotely loaded code,
+ // 0 -- none,
+ // 1 -- remotely loaded code,
// 2 -- all code.
BOOL bEnableClassGC; // default set to TRUE
- BOOL bEnableVerboseGC; // default set to FALSE
+ BOOL bEnableVerboseGC; // default set to FALSE
BOOL bEnableAsyncGC; // default set to TRUE
BOOL bVerbose; // Switch the verbose mode of the VM
BOOL bDebugging; // Enables or disable the debugging VM
@@ -275,7 +275,7 @@ public:
void EnableClassGC( BOOL bEnable )
{ bEnableClassGC = bEnable; }
UINT32 IsClassGCEnabled() const { return bEnableClassGC; }
-
+
void EnableVerboseGC( BOOL bEnable )
{ bEnableVerboseGC = bEnable; }
UINT32 IsVerboseGCEnabled() const { return bEnableVerboseGC; }
@@ -363,7 +363,7 @@ void JRE_PropertyChanged( JNIEnv * env, const SvCommandList & rCmdList )
if( !mCtor || !pProps || ! mPut )
return;
-
+
for( ULONG i = 0; i < rCmdList.Count(); i++ )
{
const SvCommand & rCmd = rCmdList[i];
@@ -422,12 +422,12 @@ void SjApplet2::settingsChanged(void)
// switch ( aJSettings.GetNetAccess() )
// {
// case NET_UNRESTRICTED:
-// aCmdList.Append( String::CreateFromAscii("appletviewer.security.mode"),
+// aCmdList.Append( String::CreateFromAscii("appletviewer.security.mode"),
// String::CreateFromAscii("unrestricted") );
// break;
// case NET_NONE:
-// aCmdList.Append( String::CreateFromAscii("appletviewer.security.mode"),
+// aCmdList.Append( String::CreateFromAscii("appletviewer.security.mode"),
// String::CreateFromAscii("none") );
// break;
@@ -437,10 +437,10 @@ void SjApplet2::settingsChanged(void)
// break;
// }
// if ( aJSettings.IsSecurityEnabled() )
-// aCmdList.Append( String::CreateFromAscii("stardiv.security.disableSecurity"),
+// aCmdList.Append( String::CreateFromAscii("stardiv.security.disableSecurity"),
// String::CreateFromAscii("false") );
// else
-// aCmdList.Append( String::CreateFromAscii("stardiv.security.disableSecurity"),
+// aCmdList.Append( String::CreateFromAscii("stardiv.security.disableSecurity"),
// String::CreateFromAscii("true") );
// // HTTP settings