summaryrefslogtreecommitdiff
path: root/stoc/source/javavm
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:25:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:25:23 +0000
commit577dc635de8e4880dda55027fced89a7122817d9 (patch)
tree7359a7714c3e5bef49757e792a99a1ecb83f8e9b /stoc/source/javavm
parente4dda46b1a3a904d1b3cc3027b8d19be23ff9955 (diff)
INTEGRATION: CWS pj65 (1.75.8); FILE MERGED
2006/10/24 06:49:32 pjanik 1.75.8.1: #i70659#: Prevent warnings on Mac OS X.
Diffstat (limited to 'stoc/source/javavm')
-rw-r--r--stoc/source/javavm/javavm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index b12364664..1a2918fb0 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: javavm.cxx,v $
*
- * $Revision: 1.75 $
+ * $Revision: 1.76 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 17:31:03 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:25:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1167,7 +1167,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
if (aAccessor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ooInetProxyType")))
{
// Proxy none, manually
- sal_Int32 value;
+ sal_Int32 value = 0;
rEvent.Element >>= value;
setINetSettingsInVM(value != 0);
return;
@@ -1218,7 +1218,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
{
aPropertyName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"appletviewer.security.mode"));
- sal_Int32 n;
+ sal_Int32 n = 0;
if (rEvent.Element >>= n)
switch (n)
{