Author: hdu Date: Tue Aug 13 13:47:14 2013 New Revision: 1513489 URL: http://svn.apache.org/r1513489 Log: #i122841# initialize LotusRoot singleton already in LotusRoot constructor
as its LotAttrCache member already needs it which resulted in crashes if any Lotus 123 files were loaded. Modified: openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx Modified: openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx URL: http://svn.apache.org/viewvc/openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx?rev=1513489&r1=1513488&r2=1513489&view=diff ============================================================================== --- openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx (original) +++ openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx Tue Aug 13 13:47:14 2013 @@ -55,9 +55,10 @@ LOTUS_ROOT::LOTUS_ROOT( ScDocument* pDoc eFirstType( Lotus_X), eActType( Lotus_X), pRngNmBffWK3( new RangeNameBufferWK3), - pFontBuff( new LotusFontBuffer), - pAttrTable( new LotAttrTable) + pFontBuff( new LotusFontBuffer) { + pLotusRoot = this; // #122841# the singleton global var is already needed for LotAttrTable + pAttrTable = new LotAttrTable; }