Kaydet (Commit) 00edd5d2 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.4.4); FILE MERGED

2006/03/06 10:16:09 dbo 1.4.4.3: #i55991#
2005/10/27 15:45:02 dbo 1.4.4.2: #i53898#
2005/10/27 15:29:51 dbo 1.4.4.1: #i53898# warning-free for CC
üst d88bd71e
......@@ -4,9 +4,9 @@
*
* $RCSfile: xml_element.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 16:11:38 $
* last change: $Author: hr $ $Date: 2006-06-20 05:11:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -88,7 +88,7 @@ void XMLElement::dump( Reference< xml::sax::XDocumentHandler > const & xOut )
sal_Int16 XMLElement::getLength()
throw (RuntimeException)
{
return _attrNames.size();
return static_cast<sal_Int16>(_attrNames.size());
}
//__________________________________________________________________________________________________
OUString XMLElement::getNameByIndex( sal_Int16 nPos )
......@@ -102,11 +102,12 @@ OUString XMLElement::getTypeByIndex( sal_Int16 nPos )
throw (RuntimeException)
{
OSL_ASSERT( (size_t)nPos < _attrNames.size() );
static_cast<void>(nPos);
// xxx todo
return OUString();
}
//__________________________________________________________________________________________________
OUString XMLElement::getTypeByName( OUString const & rName )
OUString XMLElement::getTypeByName( OUString const & /*rName*/ )
throw (RuntimeException)
{
// xxx todo
......@@ -133,4 +134,4 @@ OUString XMLElement::getValueByName( OUString const & rName )
return OUString();
}
};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment