diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 11:28:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 15:27:33 +0200 |
commit | dd8f5e22356349345c35932fcc6b75dee503f834 (patch) | |
tree | dc576336d8e2f4bb24d2b73b5eb067ea75b63cf7 /sc/inc/dptabsrc.hxx | |
parent | 492ccb76d75cbce976f5a4886cbe5eec3d132898 (diff) |
use rtl::Reference in ScDPDimensions/ScDPHierarchies/ScDPLevels
instead of manual acquire/release
Change-Id: Id0dfa1c42e12a680ed6a6144b73d03c8f45e9f3d
Diffstat (limited to 'sc/inc/dptabsrc.hxx')
-rw-r--r-- | sc/inc/dptabsrc.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx index 26e949a813b7..6a3547626548 100644 --- a/sc/inc/dptabsrc.hxx +++ b/sc/inc/dptabsrc.hxx @@ -261,7 +261,7 @@ class ScDPDimensions : public cppu::WeakImplHelper< private: ScDPSource* pSource; long nDimCount; - ScDPDimension** ppDims; + rtl::Reference<ScDPDimension>* ppDims; public: ScDPDimensions( ScDPSource* pSrc ); @@ -415,7 +415,7 @@ private: // date columns have 3 hierarchies (flat/quarter/week), other columns only one // #i52547# don't offer the incomplete date hierarchy implementation static const long nHierCount = 1; - ScDPHierarchy** ppHiers; + rtl::Reference<ScDPHierarchy>* ppHiers; public: ScDPHierarchies( ScDPSource* pSrc, long nD ); @@ -492,7 +492,7 @@ private: long nDim; long nHier; long nLevCount; - ScDPLevel** ppLevs; + rtl::Reference<ScDPLevel>* ppLevs; public: ScDPLevels( ScDPSource* pSrc, long nD, long nH ); |