Commit b51fc43d authored by claes's avatar claes

woid initialized

parent 53e4b9b8
/* /*
* Proview $Id: wb_vrepmem.h,v 1.24 2007-12-21 13:18:01 claes Exp $ * Proview $Id: wb_vrepmem.h,v 1.25 2008-02-22 09:31:06 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
...@@ -103,7 +103,7 @@ class mem_object ...@@ -103,7 +103,7 @@ class mem_object
pwr_tOid fthoid = (fth && !isRoot) ? fth->m_oid : pwr_cNOid; pwr_tOid fthoid = (fth && !isRoot) ? fth->m_oid : pwr_cNOid;
pwr_tOid bwsoid = (bws && !isRoot) ? bws->m_oid : pwr_cNOid; pwr_tOid bwsoid = (bws && !isRoot) ? bws->m_oid : pwr_cNOid;
pwr_tOid oid; pwr_tOid oid;
pwr_tOid woid; pwr_tOid woid = pwr_cNOid;
if ( recix) { if ( recix) {
pwr_tOix ix; pwr_tOix ix;
...@@ -112,8 +112,6 @@ class mem_object ...@@ -112,8 +112,6 @@ class mem_object
woid.oix = ix; woid.oix = ix;
woid.vid = m_oid.vid; woid.vid = m_oid.vid;
} }
else
woid = pwr_cNOid;
} }
i.importPasteObject( destination, destcode, keepoid, m_oid, m_cid, fthoid, bwsoid, i.importPasteObject( destination, destcode, keepoid, m_oid, m_cid, fthoid, bwsoid,
name(), m_flags, rbody_size, dbody_size, rbody, dbody, woid, &oid); name(), m_flags, rbody_size, dbody_size, rbody, dbody, woid, &oid);
......
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