summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:41:50 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:41:50 +0000
commit9d8000c7be13bff91235698959a55082ddd4791d (patch)
tree414b6374e3fb85e87affae83e7409e61f8fed804 /xmlscript
parent6094a1c22891a6662c4c723288e2edde3d34cb22 (diff)
INTEGRATION: CWS pj65 (1.29.10); FILE MERGED
2006/10/31 12:58:50 pjanik 1.29.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_expmodels.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
index 41dd4b33399b..0e88c79b1f07 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmldlg_expmodels.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 11:38:05 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:41:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -924,7 +924,7 @@ void ElementDescriptor::readFormattedFieldModel( StyleBag * all_styles )
OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":value") ) );
// format spec
- sal_Int32 nKey;
+ sal_Int32 nKey = 0;
if (readProp( OUString( RTL_CONSTASCII_USTRINGPARAM("FormatKey") ) ) >>= nKey)
{
Reference< util::XNumberFormatsSupplier > xSupplier;