diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-29 17:39:45 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-29 17:42:19 -0500 |
commit | 8a5b9413bd098b4643a0ca73eaa4834e962e5647 (patch) | |
tree | 9b5a932435143dfbf9340922e4d13039171bd6e5 /sc/inc/dpobject.hxx | |
parent | Let's stick with FooCol, FooRow naming as opposed to FooX, FooY. (diff) | |
download | core-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.hxx | 4 |
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); |