summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLFootnoteImportContext.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-01-02 13:41:38 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-01-02 13:41:38 +0000
commit51b9819447437d09f11f3146af333a1d0e693635 (patch)
tree4036cb1df980472958c8f900db1a0870430d9496 /xmloff/source/text/XMLFootnoteImportContext.cxx
parent6f7e8313b204faded40495b796819bfe7fee018c (diff)
- fixed: use proper int type for XAttributeList (eliminates compiler warnings in wntmsci3)
Diffstat (limited to 'xmloff/source/text/XMLFootnoteImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLFootnoteImportContext.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLFootnoteImportContext.cxx b/xmloff/source/text/XMLFootnoteImportContext.cxx
index bac1acb0b25f..d40875b0b776 100644
--- a/xmloff/source/text/XMLFootnoteImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteImportContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLFootnoteImportContext.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2000-09-27 15:58:44 $
+ * last change: $Author: dvo $ $Date: 2001-01-02 14:41:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -179,8 +179,8 @@ void XMLFootnoteImportContext::StartElement(
rHelper.InsertTextContent(xTextContent);
// process id attribute
- sal_Int32 nLength = xAttrList->getLength();
- for(sal_Int32 nAttr = 0; nAttr < nLength; nAttr++)
+ sal_Int16 nLength = xAttrList->getLength();
+ for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++)
{
OUString sLocalName;
sal_uInt16 nPrefix = GetImport().GetNamespaceMap().
@@ -254,8 +254,8 @@ SvXMLImportContext *XMLFootnoteImportContext::CreateChildContext(
// little hack: we only care for one attribute of the citation
// element. We handle that here, and then return a
// default context.
- sal_Int32 nLength = xAttrList->getLength();
- for(sal_Int32 nAttr = 0; nAttr < nLength; nAttr++)
+ sal_Int16 nLength = xAttrList->getLength();
+ for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++)
{
OUString sLocalName;
sal_uInt16 nPrefix = GetImport().GetNamespaceMap().