User: hr Date: 06/06/19 18:14:32 Modified: /dba/connectivity/source/drivers/ado/ AKeys.cxx
Log: INTEGRATION: CWS warnings01 (1.15.30); FILE MERGED 2005/12/22 11:44:35 fs 1.15.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/ado/ ================================================ File [changed]: AKeys.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AKeys.cxx?r1=1.15&r2=1.16 Delta lines: +10 -3 -------------------- --- AKeys.cxx 8 Sep 2005 05:30:11 -0000 1.15 +++ AKeys.cxx 20 Jun 2006 01:14:30 -0000 1.16 @@ -99,7 +99,14 @@ OLEVariant vOptional; vOptional.setNoArg(); - KeyTypeEnum eKey = OAdoKey::Map2KeyRule(getINT32(descriptor->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))); +#if OSL_DEBUG_LEVEL > 0 + KeyTypeEnum eKey = +#endif + OAdoKey::Map2KeyRule(getINT32(descriptor->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))); +#if OSL_DEBUG_LEVEL > 0 + (void)eKey; +#endif + WpADOKey aKey = pKey->getImpl(); ::rtl::OUString sName = aKey.get_Name(); if(!sName.getLength()) @@ -120,7 +127,7 @@ } // ------------------------------------------------------------------------- // XDrop -void OKeys::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName) +void OKeys::dropObject(sal_Int32 /*_nPos*/,const ::rtl::OUString _sElementName) { if(!m_aCollection.Delete(OLEVariant(_sElementName))) ADOS::ThrowException(*m_pConnection->getConnection(),static_cast<XTypeProvider*>(this)); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
