Author: hdu
Date: Thu Aug  1 13:14:40 2013
New Revision: 1509224

URL: http://svn.apache.org/r1509224
Log:
#i122841# initialize LotusRoot singleton already in LotusRoot constructor

As its LotAttrCache member already needs it which results in crashes if
any Lotus 123 files were loaded.

Modified:
    openoffice/trunk/main/sc/source/filter/lotus/lotimpop.cxx

Modified: openoffice/trunk/main/sc/source/filter/lotus/lotimpop.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/lotus/lotimpop.cxx?rev=1509224&r1=1509223&r2=1509224&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/lotus/lotimpop.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/lotus/lotimpop.cxx Thu Aug  1 
13:14:40 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;
 }
 
 


Reply via email to