Commit ab836b39 authored by claes's avatar claes

Return if class not found added

parent fdadf8b1
/* /*
* Proview $Id: wb_vrepmem.cpp,v 1.32 2007-12-21 13:18:01 claes Exp $ * Proview $Id: wb_vrepmem.cpp,v 1.33 2008-03-19 12:58:54 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -1215,6 +1215,7 @@ bool wb_vrepmem::updateSubClass( wb_adrep *subattr, char *body, bool keepref) ...@@ -1215,6 +1215,7 @@ bool wb_vrepmem::updateSubClass( wb_adrep *subattr, char *body, bool keepref)
pwr_tStatus sts; pwr_tStatus sts;
pwr_tCid cid = subattr->subClass(); pwr_tCid cid = subattr->subClass();
wb_cdrep *cdrep = m_merep->cdrep( &sts, cid); wb_cdrep *cdrep = m_merep->cdrep( &sts, cid);
if ( EVEN(sts)) return false;
wb_bdrep *bdrep = cdrep->bdrep( &sts, pwr_eBix_rt); wb_bdrep *bdrep = cdrep->bdrep( &sts, pwr_eBix_rt);
if ( EVEN(sts)) return false; if ( EVEN(sts)) return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment