"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:
parent
9e17884040
commit
11235ae729
@ -349,9 +349,6 @@ BBitmap::Archive(BMessage *data, bool deep) const
|
||||
}
|
||||
}
|
||||
|
||||
if (ret == B_OK)
|
||||
ret = data->AddString("class", "BBitmap");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -507,9 +507,6 @@ BView::Archive(BMessage *data, bool deep) const
|
||||
}
|
||||
}
|
||||
|
||||
if (ret == B_OK)
|
||||
ret = data->AddString("class", "BView");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -458,9 +458,6 @@ BWindow::Archive(BMessage* data, bool deep) const
|
||||
}
|
||||
}
|
||||
|
||||
if (ret == B_OK)
|
||||
ret = data->AddString("class", "BWindow");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user