summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:37:17 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:37:17 +0000
commita53802d9506038c286824a57cd1b189e82598209 (patch)
tree469fad11c542fc849fc03a0f64a734d81888520a /xmloff/source
parentb82fee00629a25b9ee2d5e488d66190f92942aa3 (diff)
INTEGRATION: CWS warningfixes02 (1.10.10); FILE MERGED
2006/06/30 12:00:24 sb 1.10.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/XMLFootnoteImportContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLFootnoteImportContext.cxx b/xmloff/source/text/XMLFootnoteImportContext.cxx
index 5ca9306c9402..dd980893c6ca 100644
--- a/xmloff/source/text/XMLFootnoteImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteImportContext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLFootnoteImportContext.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 18:39:29 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:37:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -187,7 +187,7 @@ void XMLFootnoteImportContext::StartElement(
// get ID ...
Reference<XPropertySet> xPropertySet(xTextContent, UNO_QUERY);
Any aAny =xPropertySet->getPropertyValue(sPropertyReferenceId);
- sal_Int16 nID;
+ sal_Int16 nID = 0;
aAny >>= nID;
// ... and insert into map