36 |
if (data == 0) |
if (data == 0) |
37 |
{ |
{ |
38 |
GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory(); |
GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory(); |
39 |
GEDCOMParser::SourceCitation * tmp_data = factory->createSourceCitation(); |
tmp_data = factory->createSourceCitation(); |
40 |
} |
} |
41 |
_citations.push_back(SmartPtr<SourceCitation>(tmp_data)); |
_citations.push_back(SmartPtr<SourceCitation>(tmp_data)); |
42 |
return _citations.back().getPtr(); |
return _citations.back().getPtr(); |