summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dbdocfun.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-11 12:12:09 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-11 12:53:22 -0500
commitfeef29286f0a7c6abd512a07fce9ef48327e0a78 (patch)
treefa8d667cfed7c86583062f37a20f02f907866c82 /sc/source/ui/inc/dbdocfun.hxx
parentac56d9373a66378a04048993ed5aec65cf39f149 (diff)
Create a self-update variant of DataPilotUpdate().
DataPilotUpdate() is getting more and more complicated, with so many branches. Since self-updating a pivot table object is common, let's create a variant just for that. This variant has much less branching. Change-Id: I75b0512258a09961ef13516d8d9bc8a2939287e1
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r--sc/source/ui/inc/dbdocfun.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index 3cf22427a90e..c302d5c532ce 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -92,6 +92,8 @@ public:
bool DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewObj,
bool bRecord, bool bApi, bool bAllowMove = false );
+ bool UpdatePivotTable(ScDPObject& rDPObj, bool bRecord, bool bApi);
+
/**
* Reload the referenced pivot cache, and refresh all pivot tables that
* reference the cache.