From feef29286f0a7c6abd512a07fce9ef48327e0a78 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 11 Jan 2013 12:12:09 -0500 Subject: 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 --- sc/source/ui/inc/dbdocfun.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc/source/ui/inc/dbdocfun.hxx') 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. -- cgit