openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1513489 - /openoffice/branches/AOO401/main/sc/source/filter/lotus/lotimpop.cxx
Date Tue, 13 Aug 2013 13:47:14 GMT
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;
 }
 
 



Mime
View raw message