summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-10 14:19:18 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-10 15:09:57 -0400
commit65775b4e3fc7485ce42842abdd36eddc197bcd1d (patch)
tree8c55e26330602f7422318bd0e6978b9d8ffd1a3a /sc
parentdd6e7fb5b31d9801977e16d853963ddcf0794a27 (diff)
Let's use constants instead of raw values to make them more traceable.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/read.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index 4f0ce42eb23d..08b56bc72d66 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -664,9 +664,9 @@ FltError ImportExcel::Read( void )
case EXC_ID3_BOOLERR: ReadBoolErr(); break;
case EXC_ID_RK: ReadRk(); break;
- case 0x0006:
- case 0x0206:
- case 0x0406: Formula25(); break;
+ case EXC_ID2_FORMULA:
+ case EXC_ID3_FORMULA:
+ case EXC_ID4_FORMULA: Formula25(); break;
case 0x0A: Eof(); eAkt = Z_Biff5E; break;
case 0x14:
case 0x15: rPageSett.ReadHeaderFooter( maStrm ); break;
@@ -1184,9 +1184,9 @@ FltError ImportExcel8::Read( void )
case EXC_ID3_BOOLERR: ReadBoolErr(); break;
case EXC_ID_RK: ReadRk(); break;
- case 0x0006:
- case 0x0206:
- case 0x0406: Formula25(); break; // FORMULA [ 2 5 ]
+ case EXC_ID2_FORMULA:
+ case EXC_ID3_FORMULA:
+ case EXC_ID4_FORMULA: Formula25(); break;
case 0x000C: Calccount(); break; // CALCCOUNT
case 0x0010: Delta(); break; // DELTA
case 0x0011: Iteration(); break; // ITERATION