User: hr Date: 06/06/19 19:51:02 Modified: /dba/dbaccess/source/filter/xml/ xmlExport.cxx
Log: INTEGRATION: CWS warnings01 (1.8.72); FILE MERGED 2006/03/24 15:35:57 fs 1.8.72.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro) File Changes: Directory: /dba/dbaccess/source/filter/xml/ =========================================== File [changed]: xmlExport.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlExport.cxx?r1=1.8&r2=1.9 Delta lines: +11 -10 --------------------- --- xmlExport.cxx 23 Sep 2005 12:10:50 -0000 1.8 +++ xmlExport.cxx 20 Jun 2006 02:50:59 -0000 1.9 @@ -224,12 +224,12 @@ /** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set */ virtual void handleSpecialItem( - SvXMLAttributeList& rAttrList, - const XMLPropertyState& rProperty, - const SvXMLUnitConverter& rUnitConverter, - const SvXMLNamespaceMap& rNamespaceMap, - const ::std::vector< XMLPropertyState > *pProperties = 0, - sal_uInt32 nIdx = 0 ) const + SvXMLAttributeList& /*rAttrList*/, + const XMLPropertyState& /*rProperty*/, + const SvXMLUnitConverter& /*rUnitConverter*/, + const SvXMLNamespaceMap& /*rNamespaceMap*/, + const ::std::vector< XMLPropertyState > */*pProperties*/ = 0, + sal_uInt32 /*nIdx*/ = 0 ) const { // nothing to do here } @@ -326,6 +326,8 @@ // let the unit converter format is as string sValue = ::rtl::OUString::valueOf(getINT32(pIter->Value)); break; + default: + break; } ::xmloff::token::XMLTokenEnum eToken = XML_TOKEN_INVALID; @@ -785,10 +787,10 @@ if ( aColumnDefault.hasValue() ) { - ::rtl::OUStringBuffer sValue,sType; - SvXMLUnitConverter::convertAny(sValue,sType,aColumnDefault); + ::rtl::OUStringBuffer sColumnDefaultString,sType; + SvXMLUnitConverter::convertAny( sColumnDefaultString, sType, aColumnDefault ); AddAttribute(XML_NAMESPACE_DB, XML_TYPE_NAME,sType.makeStringAndClear()); - AddAttribute(XML_NAMESPACE_DB, XML_DEFAULT_VALUE,sValue.makeStringAndClear()); + AddAttribute(XML_NAMESPACE_DB, XML_DEFAULT_VALUE,sColumnDefaultString.makeStringAndClear()); } if ( pAtt->getLength() ) @@ -891,7 +893,6 @@ ::std::vector< XMLPropertyState >::iterator aItr = aPropStates.begin(); ::std::vector< XMLPropertyState >::iterator aEnd = aPropStates.end(); UniReference < XMLPropertySetMapper > pColumnStyle = GetColumnStylesPropertySetMapper(); - sal_Int32 nCount(0); while ( aItr != aEnd ) { if ( aItr->mnIndex != -1 ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
