summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-15 22:16:01 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-15 22:24:00 -0500
commit017d16bdc2b02af03a9c08bb162229ba391dfd6a (patch)
tree4c4db8ffee7374cf0a1571b01696d2b4fa54e298 /sc/source
parent990dbcab759265de1497b15a93e53a5fe81ff48d (diff)
Reduce the size of ScFormulaCell by packing the matrix flag value.
Change-Id: I07ee4f03ba74415c11188f7b63879ccad542537c
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/formulacell.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 3162ba7c49b8..d8c79b96921b 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -593,8 +593,8 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos ) :
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag(MM_NONE),
nFormatType(NUMBERFORMAT_NUMBER),
+ cMatrixFlag(MM_NONE),
bDirty(false),
bChanged(false),
bRunning(false),
@@ -622,8 +622,8 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag ( cMatInd ),
nFormatType ( NUMBERFORMAT_NUMBER ),
+ cMatrixFlag ( cMatInd ),
bDirty( true ), // -> Because of the use of the Auto Pilot Function was: cMatInd != 0
bChanged( false ),
bRunning( false ),
@@ -654,8 +654,8 @@ ScFormulaCell::ScFormulaCell(
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag ( cMatInd ),
nFormatType ( NUMBERFORMAT_NUMBER ),
+ cMatrixFlag ( cMatInd ),
bDirty( true ),
bChanged( false ),
bRunning( false ),
@@ -702,8 +702,8 @@ ScFormulaCell::ScFormulaCell(
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag ( cMatInd ),
nFormatType ( NUMBERFORMAT_NUMBER ),
+ cMatrixFlag ( cMatInd ),
bDirty( true ),
bChanged( false ),
bRunning( false ),
@@ -749,8 +749,8 @@ ScFormulaCell::ScFormulaCell(
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag ( cInd ),
nFormatType(xGroup->mnFormatType),
+ cMatrixFlag ( cInd ),
bDirty(true),
bChanged( false ),
bRunning( false ),
@@ -778,8 +778,8 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons
pPreviousTrack(0),
pNextTrack(0),
nSeenInIteration(0),
- cMatrixFlag ( rCell.cMatrixFlag ),
nFormatType( rCell.nFormatType ),
+ cMatrixFlag ( rCell.cMatrixFlag ),
bDirty( rCell.bDirty ),
bChanged( rCell.bChanged ),
bRunning( false ),