diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 10:15:52 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 11:13:35 -0500 |
commit | 0637ca0aefed73b55154c15c8738c100f329a3a8 (patch) | |
tree | 551eca27ec05ddb5a6185115126d3c8bd8c9871b /sc/inc/dputil.hxx | |
parent | 593f6ac1064184f1faee60155c412b964f6f86a1 (diff) |
Populate group dimensions directly to the cache.
This is to avoid populating them twice in case the same cache is
referenced by multiple pivot tables.
Diffstat (limited to 'sc/inc/dputil.hxx')
-rw-r--r-- | sc/inc/dputil.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/dputil.hxx b/sc/inc/dputil.hxx index 68414f3a45bf..4ed4e5c679ea 100644 --- a/sc/inc/dputil.hxx +++ b/sc/inc/dputil.hxx @@ -51,7 +51,12 @@ public: static double getNumGroupStartValue(double fValue, const ScDPNumGroupInfo& rInfo); static rtl::OUString getNumGroupName( - double fValue, const ScDPNumGroupInfo& rInfo, sal_Unicode cDecSep, SvNumberFormatter* pFormatter); + double fValue, const ScDPNumGroupInfo& rInfo, sal_Unicode cDecSep, + SvNumberFormatter* pFormatter); + + static sal_Int32 getDatePartValue( + double fValue, const ScDPNumGroupInfo& rInfo, sal_Int32 nDatePart, + SvNumberFormatter* pFormatter); }; #endif |