Diff for /chimera/BookmarksService.mm between versions 1.14 and 1.15

version 1.14, 2002/02/12 01:47:57 version 1.15, 2002/03/07 03:18:55
Line 96 Line 96
     if (pageDoc) {      if (pageDoc) {
         nsCOMPtr<nsIURI> url;          nsCOMPtr<nsIURI> url;
         pageDoc->GetDocumentURL(getter_AddRefs(url));          pageDoc->GetDocumentURL(getter_AddRefs(url));
        nsXPIDLCString spec;        nsCAutoString spec;
        url->GetSpec(getter_Copies(spec));        url->GetSpec(spec);
         href.AssignWithConversion(spec.get());          href.AssignWithConversion(spec.get());
     }      }
           
Line 430  BookmarksService::AddObserver() Line 430  BookmarksService::AddObserver()
         NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR, getter_AddRefs(profileDir));          NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR, getter_AddRefs(profileDir));
         profileDir->Append("bookmarks.xml");          profileDir->Append("bookmarks.xml");
           
        nsXPIDLCString bookmarksFileURL;        nsCAutoString bookmarksFileURL;
        NS_GetURLSpecFromFile(profileDir, getter_Copies(bookmarksFileURL));        NS_GetURLSpecFromFile(profileDir, bookmarksFileURL);
                   
         nsCOMPtr<nsIURI> uri;          nsCOMPtr<nsIURI> uri;
         NS_NewURI(getter_AddRefs(uri), bookmarksFileURL.get());          NS_NewURI(getter_AddRefs(uri), bookmarksFileURL.get());

Removed from v.1.14  
changed lines
  Added in v.1.15


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>