Lines 450-457
void ScViewFunc::EnterData( SCCOL nCol,
Link Here
|
450 |
} |
450 |
} |
451 |
|
451 |
|
452 |
BOOL bNumFmtChanged = FALSE; |
452 |
BOOL bNumFmtChanged = FALSE; |
|
|
453 |
double fVal; |
454 |
ULONG nIndex = 0; |
455 |
|
453 |
// einzelnes '=' ist String (wird fuer Spezialfilter so gebraucht) |
456 |
// einzelnes '=' ist String (wird fuer Spezialfilter so gebraucht) |
454 |
if ( rString.GetChar(0) == '=' && rString.Len() > 1 ) |
457 |
if ( rString.Len() > 1 && |
|
|
458 |
( rString.GetChar(0) == '=' || rString.GetChar(0) == '+' || rString.GetChar(0) == '-' ) && |
459 |
(pDoc->GetNumberFormat(nCol, nRow, nTab, nIndex), !rFormatter.IsNumberFormat(rString, nIndex, fVal))) |
455 |
{ // Formel, compile mit AutoCorrection |
460 |
{ // Formel, compile mit AutoCorrection |
456 |
for (i=0; i<nTabCount; i++) |
461 |
for (i=0; i<nTabCount; i++) |
457 |
if (rMark.GetTableSelect(i)) |
462 |
if (rMark.GetTableSelect(i)) |