diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-08 13:27:14 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-08 14:02:22 +0200 |
commit | 7df729da30f89ad20cd5705e3a1a91866ac71898 (patch) | |
tree | e9529e1c28bafcda3a66dc207ecbebb4c36ee156 /sc | |
parent | 56900a441de1d4cc896ad1e36a44622ed1598fad (diff) |
Revert "USE_MEMPOOL is not defined anywhere"
Well.. then let's remove the ifdef instead of the implementation,
dammit..
This reverts commit 64c6b0ed6c67d169021732d276ec02706e139261.
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 |