"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:
@@ -349,9 +349,6 @@ BBitmap::Archive(BMessage *data, bool deep) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == B_OK)
|
|
||||||
ret = data->AddString("class", "BBitmap");
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -79,11 +79,6 @@ BPictureButton::Archive(BMessage *data, bool deep) const
|
|||||||
if (err != B_OK)
|
if (err != B_OK)
|
||||||
return err;
|
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.
|
// Fill out message, depending on whether a deep copy is required or not.
|
||||||
if (deep) {
|
if (deep) {
|
||||||
BMessage pictureArchive;
|
BMessage pictureArchive;
|
||||||
|
|||||||
@@ -507,9 +507,6 @@ BView::Archive(BMessage *data, bool deep) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == B_OK)
|
|
||||||
ret = data->AddString("class", "BView");
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -458,9 +458,6 @@ BWindow::Archive(BMessage* data, bool deep) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == B_OK)
|
|
||||||
ret = data->AddString("class", "BWindow");
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user