diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-04-27 17:21:25 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-04-28 15:35:54 -0400 |
commit | 60f355127fb93d574e30e590158fe867148762ea (patch) | |
tree | 16ab3e42b9789d8fd118458071fca42771c16372 /sc/inc/dptabdat.hxx | |
parent | ca844d3bfc4fc379608a4856a9750af84e620953 (diff) |
Centrally manage cached grid data for data pilot tables.
This prevents cached data from getting re-generated everytime ScDPObject
gets copied, which happens quite often. Without this, the performance
of datapilot would really really suffer.
Diffstat (limited to 'sc/inc/dptabdat.hxx')
-rw-r--r-- | sc/inc/dptabdat.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index 7b3dde760246..31d32fe25706 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -39,6 +39,7 @@ #include <set> #include <boost/unordered_set.hpp> #include <boost/unordered_map.hpp> +#include <boost/noncopyable.hpp> namespace com { namespace sun { namespace star { namespace sheet { struct DataPilotFieldFilter; @@ -91,7 +92,7 @@ class ScDocument; * Base class that abstracts different data source types of a datapilot * table. */ -class SC_DLLPUBLIC ScDPTableData +class SC_DLLPUBLIC ScDPTableData : public ::boost::noncopyable { // cached data for GetDatePart long nLastDateVal; |