diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/formulacell.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 1b67b40ba41d..dbafa1b1166e 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -164,6 +164,10 @@ public: enum CompareState { NotEqual = 0, EqualInvariant, EqualRelativeRef }; +#ifdef USE_MEMPOOL + DECL_FIXEDMEMPOOL_NEWDEL( ScFormulaCell ) +#endif + ScAddress aPos; virtual ~ScFormulaCell(); diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index dc3f9bb5227f..2483382ac26d 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -66,6 +66,10 @@ using namespace formula; +#ifdef USE_MEMPOOL +IMPL_FIXEDMEMPOOL_NEWDEL( ScFormulaCell ) +#endif + #define DEBUG_CALCULATION 0 #if DEBUG_CALCULATION static ScAddress aDebugCalculationTriggerAddress(1,2,0); // Sheet1.B3, whatever you like |