summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpsdbtab.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-31 21:46:46 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-31 22:12:46 -0400
commit6a06befd20b01290a61e8157bd72c20eddcd15a0 (patch)
tree5990b982238d83f70239b39c714dc43e41386982 /sc/inc/dpsdbtab.hxx
parentThe cache inside ScDPCacheTable (I should rename this) is never NULL. (diff)
downloadcore-6a06befd20b01290a61e8157bd72c20eddcd15a0.tar.gz
core-6a06befd20b01290a61e8157bd72c20eddcd15a0.zip
Since the cache there is never NULL, let's take a reference instead.
Change-Id: Idd3ca250ea51c9e17b4566febf13d9c8ca9c6a8f
Diffstat (limited to 'sc/inc/dpsdbtab.hxx')
-rw-r--r--sc/inc/dpsdbtab.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/dpsdbtab.hxx b/sc/inc/dpsdbtab.hxx
index 943bf8d94179..87e6df61c3b3 100644
--- a/sc/inc/dpsdbtab.hxx
+++ b/sc/inc/dpsdbtab.hxx
@@ -70,7 +70,7 @@ class ScDatabaseDPData : public ScDPTableData
private:
ScDPCacheTable aCacheTable;
public:
- ScDatabaseDPData(ScDocument* pDoc, const ScDPCache* pCache);
+ ScDatabaseDPData(ScDocument* pDoc, const ScDPCache& rCache);
virtual ~ScDatabaseDPData();
virtual long GetColumnCount();