Lines 464-470
Link Here
|
464 |
else |
464 |
else |
465 |
pCell = new ScStringCell( rTest ); |
465 |
pCell = new ScStringCell( rTest ); |
466 |
|
466 |
|
467 |
sal_Bool bRet = IsDataValid( pCell, rPos ); |
467 |
sal_Bool bRet; |
|
|
468 |
if (SC_VALID_TEXTLEN == eDataMode) |
469 |
{ |
470 |
double nLenVal = (double) rTest.Len(); |
471 |
ScValueCell aTmpCell( nLenVal ); |
472 |
bRet = IsCellValid( &aTmpCell, rPos ); |
473 |
} |
474 |
else |
475 |
bRet = IsDataValid( pCell, rPos ); |
468 |
|
476 |
|
469 |
pCell->Delete(); |
477 |
pCell->Delete(); |
470 |
return bRet; |
478 |
return bRet; |