summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:42:02 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:42:02 +0000
commitef8b4a710845faa27811e4ca4b289f1dc1f2ec02 (patch)
treef7a074dc059794ad24ed772b82def0246bb79c9f /xmlscript
parent9d8000c7be13bff91235698959a55082ddd4791d (diff)
INTEGRATION: CWS pj65 (1.36.10); FILE MERGED
2006/10/31 13:00:28 pjanik 1.36.10.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index 0cd406591d74..7191d1bedce4 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmldlg_impmodels.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 11:38:33 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:42:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1242,7 +1242,7 @@ void TitledBoxElement::endElement()
xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked;
+ sal_Bool bChecked = sal_False;
if (getBoolAttr( &bChecked,
OUString( RTL_CONSTASCII_USTRINGPARAM("checked") ),
xAttributes,
@@ -1370,7 +1370,7 @@ void RadioGroupElement::endElement()
xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked;
+ sal_Bool bChecked = sal_False;
if (getBoolAttr( &bChecked,
OUString( RTL_CONSTASCII_USTRINGPARAM("checked") ),
xAttributes,
@@ -1816,7 +1816,7 @@ void ButtonElement::endElement()
_xAttributes ))
ctx.getControlModel()->setPropertyValue(
OUSTR("Repeat"), makeAny(true) );
- sal_Int32 toggled;
+ sal_Int32 toggled = 0;
if (getLongAttr( &toggled, OUSTR("toggled"), _xAttributes,
_pImport->XMLNS_DIALOGS_UID ) && toggled == 1)
ctx.getControlModel()->setPropertyValue(OUSTR("Toggle"), makeAny(true));
@@ -1827,7 +1827,7 @@ void ButtonElement::endElement()
_xAttributes );
// State
- sal_Bool bChecked;
+ sal_Bool bChecked = sal_False;
if (getBoolAttr(
&bChecked,
OUString( RTL_CONSTASCII_USTRINGPARAM("checked") ),