diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-16 13:52:33 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-20 20:13:08 -0400 |
commit | 4da9bf8086c90f0b0b4394cd6578da1405ca3e8d (patch) | |
tree | 85adb4c32012f1e65de7b5be258c2784a9ec7fae /sc/inc/clipcontext.hxx | |
parent | c232a8c4723e1a948fbeef2f7ea9486658191eeb (diff) |
Cleaned up a bit to remove the need to initialize the block positions.
Change-Id: Iad2e69e4eb61167ad85581a83b19e3798c5edfd0
Diffstat (limited to 'sc/inc/clipcontext.hxx')
-rw-r--r-- | sc/inc/clipcontext.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx index 8b1f26194316..53f2110e9c58 100644 --- a/sc/inc/clipcontext.hxx +++ b/sc/inc/clipcontext.hxx @@ -27,6 +27,8 @@ class CopyFromClipContext TablesType maTables; + ScDocument& mrDoc; + ScDocument* mpRefUndoDoc; ScDocument* mpClipDoc; sal_uInt16 mnInsertFlag; @@ -36,16 +38,16 @@ class CopyFromClipContext bool mbSkipAttrForEmptyCells:1; CopyFromClipContext(); // disabled + public: - CopyFromClipContext( + CopyFromClipContext(ScDocument& rDoc, ScDocument* pRefUndoDoc, ScDocument* pClipDoc, sal_uInt16 nInsertFlag, bool bAsLink, bool bSkipAttrForEmptyCells); - bool initBlockPositions(ScDocument& rDoc, SCCOL nCol1, SCCOL nCol2); - void setTabRange(SCTAB nStart, SCTAB nEnd); - ~CopyFromClipContext(); + void setTabRange(SCTAB nStart, SCTAB nEnd); + ColumnBlockPosition* getBlockPosition(SCTAB nTab, SCCOL nCol); ScDocument* getUndoDoc(); |