[REVIEW 3-5] Fix for a crasher during copy-n-paste from Excel.

Ivan Timofeev timofeev.i.s at gmail.com
Mon Feb 13 10:13:59 PST 2012


Hi Kohei,

On 13.02.2012 21:40, Kohei Yoshida wrote:
> The problem happened when calc was not able to
> compile the formula string for whatever reason, in which case pCode
> would remain NULL after the Compile is called in one of its
> constructors.

Sorry, I did not test the bug, but...

ScFormulaCell::Compile:

     pCode = aComp.CompileString( rFormula );
     if ( pCodeOld )
         delete pCodeOld;
     if( !pCode->GetCodeError() )
     {

A crash will be right here, inside Compile?..

Regards,
Ivan



More information about the LibreOffice mailing list