"class" is added by BArchivable::Archive(), no need to duplicate

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18086 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-07-10 17:38:12 +00:00
parent 9e17884040
commit 11235ae729
4 changed files with 0 additions and 14 deletions

View File

@ -349,9 +349,6 @@ BBitmap::Archive(BMessage *data, bool deep) const
}
}
if (ret == B_OK)
ret = data->AddString("class", "BBitmap");
return ret;
}

View File

@ -79,11 +79,6 @@ BPictureButton::Archive(BMessage *data, bool deep) const
if (err != B_OK)
return err;
// Do we need this? Good practice!
err = data->AddString("class", "BPictureButton");
if (err != B_OK)
return err;
// Fill out message, depending on whether a deep copy is required or not.
if (deep) {
BMessage pictureArchive;

View File

@ -507,9 +507,6 @@ BView::Archive(BMessage *data, bool deep) const
}
}
if (ret == B_OK)
ret = data->AddString("class", "BView");
return ret;
}

View File

@ -458,9 +458,6 @@ BWindow::Archive(BMessage* data, bool deep) const
}
}
if (ret == B_OK)
ret = data->AddString("class", "BWindow");
return ret;
}