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

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

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

revision 1.6 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.7 by cpcp, Sun Feb 23 21:34:44 2003 UTC
# Line 81  GEDCOMParser::SourceCitation * GEDCOMPar Line 81  GEDCOMParser::SourceCitation * GEDCOMPar
81    if (data == 0)    if (data == 0)
82      {      {
83        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
84        GEDCOMParser::SourceCitation  * tmp_data = factory->createSourceCitation();        tmp_data = factory->createSourceCitation();
85      }      }
86    _citations.push_back(SmartPtr<SourceCitation>(tmp_data));    _citations.push_back(SmartPtr<SourceCitation>(tmp_data));
87    return _citations.back().getPtr();    return _citations.back().getPtr();
# Line 93  GEDCOMParser::NoteStructure * GEDCOMPars Line 93  GEDCOMParser::NoteStructure * GEDCOMPars
93    if (data == 0)    if (data == 0)
94      {      {
95        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
96        GEDCOMParser::NoteStructure  * tmp_data = factory->createNoteStructure();        tmp_data = factory->createNoteStructure();
97      }      }
98    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));
99    return _notes.back().getPtr();    return _notes.back().getPtr();

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

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