void GeneralGlyph::renameSIdRefs(const std::string& oldid, const std::string& newid) { GraphicalObject::renameSIdRefs(oldid, newid); if (isSetReferenceId() && mReference == oldid) { setReferenceId(newid); } }
void ReferenceGlyph::renameSIdRefs(const std::string& oldid, const std::string& newid) { GraphicalObject::renameSIdRefs(oldid, newid); if (isSetReferenceId() && mReference == oldid) { mReference = newid; } if (isSetGlyphId() && mGlyph == oldid) { mGlyph = newid; } }