diff --git a/src/kits/interface/Layout.cpp b/src/kits/interface/Layout.cpp index 75d3932bdb..bce47bc403 100644 --- a/src/kits/interface/Layout.cpp +++ b/src/kits/interface/Layout.cpp @@ -456,7 +456,7 @@ BLayout::Archive(BMessage* into, bool deep) const status_t BLayout::AllArchived(BMessage* archive) const { - return BArchivable::AllArchived(archive); + return BLayoutItem::AllArchived(archive); }