summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-29 17:39:45 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-29 17:42:19 -0500
commit8a5b9413bd098b4643a0ca73eaa4834e962e5647 (patch)
tree9b5a932435143dfbf9340922e4d13039171bd6e5 /sc/inc/dpobject.hxx
parentLet's stick with FooCol, FooRow naming as opposed to FooX, FooY. (diff)
downloadcore-8a5b9413bd098b4643a0ca73eaa4834e962e5647.tar.gz
core-8a5b9413bd098b4643a0ca73eaa4834e962e5647.zip
bnc#484599: Prevent pivot table from getting sheared when cells are shifted.
Change-Id: Ic6766105bb221aa4ebc700cbf99b4f6f5b3abf8b
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index fc8d066d2be0..b0971ac8bce2 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -395,6 +395,10 @@ public:
NameCaches& GetNameCaches();
DBCaches& GetDBCaches();
+ bool IntersectsTableByColumns( SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCTAB nTab ) const;
+ bool IntersectsTableByRows( SCCOL nCol, SCROW nRow1, SCROW nRow2, SCTAB nTab ) const;
+ bool HasTable( const ScRange& rRange ) const;
+
private:
/** Only to be called from ScDPCache::RemoveReference(). */
void RemoveCache(const ScDPCache* pCache);