This commit is contained in:
pinkerton%netscape.com 2002-06-03 21:20:27 +00:00
Родитель 48dc2bd8cf
Коммит 882d316742
6 изменённых файлов: 6 добавлений и 8 удалений

Просмотреть файл

@ -42,7 +42,7 @@
NSPasteboard* pboard = [NSPasteboard pasteboardWithName:NSDragPboard];
contentIds = [pboard propertyListForType:@"MozBookmarkType"];
if (contentIds) {
for (int i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);
BookmarksService::DeleteBookmark(bookmarkElt);

Просмотреть файл

@ -156,9 +156,8 @@
// check for recognized drag types
contentIds = [[sender draggingPasteboard] propertyListForType: @"MozBookmarkType"];
if (contentIds) {
int i = 0;
// drag type is chimera bookmarks
for (i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);

Просмотреть файл

@ -42,7 +42,7 @@
NSPasteboard* pboard = [NSPasteboard pasteboardWithName:NSDragPboard];
contentIds = [pboard propertyListForType:@"MozBookmarkType"];
if (contentIds) {
for (int i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);
BookmarksService::DeleteBookmark(bookmarkElt);

Просмотреть файл

@ -42,7 +42,7 @@
NSPasteboard* pboard = [NSPasteboard pasteboardWithName:NSDragPboard];
contentIds = [pboard propertyListForType:@"MozBookmarkType"];
if (contentIds) {
for (int i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);
BookmarksService::DeleteBookmark(bookmarkElt);

Просмотреть файл

@ -156,9 +156,8 @@
// check for recognized drag types
contentIds = [[sender draggingPasteboard] propertyListForType: @"MozBookmarkType"];
if (contentIds) {
int i = 0;
// drag type is chimera bookmarks
for (i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);

Просмотреть файл

@ -42,7 +42,7 @@
NSPasteboard* pboard = [NSPasteboard pasteboardWithName:NSDragPboard];
contentIds = [pboard propertyListForType:@"MozBookmarkType"];
if (contentIds) {
for (int i = 0; i < [contentIds count]; ++i) {
for (unsigned int i = 0; i < [contentIds count]; ++i) {
BookmarkItem* item = [BookmarksService::gDictionary objectForKey: [contentIds objectAtIndex:i]];
nsCOMPtr<nsIDOMElement> bookmarkElt = do_QueryInterface([item contentNode]);
BookmarksService::DeleteBookmark(bookmarkElt);