/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/MultimediaRecord.cpp
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/MultimediaRecord.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.6 by cpcp, Sun Feb 23 21:34:44 2003 UTC
# Line 75  GEDCOMParser::NoteStructure * GEDCOMPars Line 75  GEDCOMParser::NoteStructure * GEDCOMPars
75    if (data == 0)    if (data == 0)
76      {      {
77        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
78        GEDCOMParser::NoteStructure  * tmp_data = factory->createNoteStructure();        tmp_data = factory->createNoteStructure();
79      }      }
80    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));
81    return _notes.back().getPtr();    return _notes.back().getPtr();
# Line 87  GEDCOMParser::UserReference * GEDCOMPars Line 87  GEDCOMParser::UserReference * GEDCOMPars
87    if (data == 0)    if (data == 0)
88      {      {
89        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
90        GEDCOMParser::UserReference  * tmp_data = factory->createUserReference();        tmp_data = factory->createUserReference();
91      }      }
92    _user_references.push_back(SmartPtr<UserReference>(tmp_data));    _user_references.push_back(SmartPtr<UserReference>(tmp_data));
93    return _user_references.back().getPtr();    return _user_references.back().getPtr();
# Line 99  GEDCOMParser::ChangeDate * GEDCOMParser: Line 99  GEDCOMParser::ChangeDate * GEDCOMParser:
99    if (data == 0)    if (data == 0)
100      {      {
101        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
102        GEDCOMParser::ChangeDate  * tmp_data = factory->createChangeDate();        tmp_data = factory->createChangeDate();
103      }      }
104    _change_date = SmartPtr<ChangeDate>(tmp_data);    _change_date = SmartPtr<ChangeDate>(tmp_data);
105    return _change_date.getPtr();        return _change_date.getPtr();    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26