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

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

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

revision 1.4 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.5 by cpcp, Sun Feb 23 21:34:44 2003 UTC
# Line 49  GEDCOMParser::NoteStructure * GEDCOMPars Line 49  GEDCOMParser::NoteStructure * GEDCOMPars
49    if (data == 0)    if (data == 0)
50      {      {
51        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
52        GEDCOMParser::NoteStructure  * tmp_data = factory->createNoteStructure();        tmp_data = factory->createNoteStructure();
53      }      }
54    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));    _notes.push_back(SmartPtr<NoteStructure>(tmp_data));
55    return _notes.back().getPtr();    return _notes.back().getPtr();
# Line 61  GEDCOMParser::SourceRepositoryCitation:: Line 61  GEDCOMParser::SourceRepositoryCitation::
61    if (data == 0)    if (data == 0)
62      {      {
63        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();        GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory();
64        GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * tmp_data = factory->createSourceRepositoryCitation_SourceCallNumber();        tmp_data = factory->createSourceRepositoryCitation_SourceCallNumber();
65      }      }
66    _call_numbers.push_back(SmartPtr<SourceRepositoryCitation::SourceCallNumber>(tmp_data));    _call_numbers.push_back(SmartPtr<SourceRepositoryCitation::SourceCallNumber>(tmp_data));
67    return _call_numbers.back().getPtr();    return _call_numbers.back().getPtr();

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

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