/[ghosts]/ghosts/gedcomviewer/src/BakeryGateway/ViewIndividualRecord.cpp
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/BakeryGateway/ViewIndividualRecord.cpp

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

revision 1.3 by cpcp, Sun Feb 9 20:13:24 2003 UTC revision 1.4 by cpcp, Mon Feb 17 20:20:08 2003 UTC
# Line 45  BakeryGateway::ViewIndividualRecord::Vie Line 45  BakeryGateway::ViewIndividualRecord::Vie
45    
46  void BakeryGateway::ViewIndividualRecord::save_to_document(void)  void BakeryGateway::ViewIndividualRecord::save_to_document(void)
47  {  {
48    if ((!_during_load) && (!_during_save))    if ((!_during_load) && (!_during_save) && (_entity != 0))
49      {      {
50        _during_save = true;        _during_save = true;
51        MMIIndividualRecord::enumSex mmi_sex = _mmi_individual_record->getSex();        MMIIndividualRecord::enumSex mmi_sex = _mmi_individual_record->getSex();
# Line 80  void BakeryGateway::ViewIndividualRecord Line 80  void BakeryGateway::ViewIndividualRecord
80    _during_load = true;    _during_load = true;
81    if (_local_document != get_document())    if (_local_document != get_document())
82      {      {
83          if (get_document()->getIndividualRecords().size() == 0)
84            {
85              get_document()->addIndividualRecord();
86            }
87          
88        _local_document = get_document();        _local_document = get_document();
89        _individuals = get_document()->getIndividualRecords();        _individuals = get_document()->getIndividualRecords();
90        GEDCOMParser::IndividualRecords_t roots = get_document()->getRootIndividuals();        GEDCOMParser::IndividualRecords_t roots = get_document()->getRootIndividuals();

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

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