diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:11:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:11:17 +0000 |
commit | 00edd5d2c355122beaae8a0a7cb5aa369853c469 (patch) | |
tree | 575166b040249fbdf97c42b66d9654c9c23eef8b /xmlscript | |
parent | d88bd71e91bd18fdd5b89e2013c47efc181121b2 (diff) |
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
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xml_helper/xml_element.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx index dc22d3a30490..5f0103b7e8ff 100644 --- a/xmlscript/source/xml_helper/xml_element.cxx +++ b/xmlscript/source/xml_helper/xml_element.cxx @@ -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(); } -}; +} |