User: hr Date: 06/06/19 18:51:40 Modified: /dba/connectivity/source/drivers/mozab/mozillasrc/ MNameMapper.cxx
Log: INTEGRATION: CWS warnings01 (1.6.30); FILE MERGED 2005/11/16 12:59:16 fs 1.6.30.2: #i57457# warning free code 2005/11/07 14:43:57 fs 1.6.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/mozab/mozillasrc/ ============================================================= File [changed]: MNameMapper.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/mozillasrc/MNameMapper.cxx?r1=1.6&r2=1.7 Delta lines: +4 -12 -------------------- --- MNameMapper.cxx 8 Sep 2005 06:29:03 -0000 1.6 +++ MNameMapper.cxx 20 Jun 2006 01:51:38 -0000 1.7 @@ -102,13 +102,13 @@ if ( abook == NULL ) { OSL_TRACE( "\tOUT MNameMapper::add() called with null abook\n" ); - return -1; + return NS_ERROR_NULL_POINTER; } ::rtl::OUString ouUri=::rtl::OUString::createFromAscii(getURI(abook)); if ( mUriMap->find (ouUri) != mUriMap->end() ) //There's already an entry with same uri { - return -1; + return NS_ERROR_FILE_NOT_FOUND; } mUriMap->insert( MNameMapper::uriMap::value_type( ouUri, abook ) ); @@ -124,14 +124,6 @@ mDirMap->insert( MNameMapper::dirMap::value_type( str, abook ) ); OSL_TRACE( "\tOUT MNameMapper::add()\n" ); return 0; -} - -// Will replace the given dir -void -MNameMapper::replace( const ::rtl::OUString& str, nsIAbDirectory* abook ) -{ - // TODO - needs to be implemented... - OSL_TRACE( "IN/OUT MNameMapper::add()\n" ); } bool --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
