diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-17 16:48:25 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-20 20:19:27 -0400 |
commit | edddbde921bf977dc1e7104956d204622b0449dd (patch) | |
tree | 52ac2bf77178b725bcd7c39a19c67c5f2b2c9d60 /sc/inc/clipcontext.hxx | |
parent | 252a30609357a5b2691b7796cc8f3f4f1319f655 (diff) |
A bit of a cleanup.
Change-Id: Iaa7003cabee4630e4fbb8fb1cd114d04b4e9e33c
Diffstat (limited to 'sc/inc/clipcontext.hxx')
-rw-r--r-- | sc/inc/clipcontext.hxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx index 599da6efceb2..84b1fccade6a 100644 --- a/sc/inc/clipcontext.hxx +++ b/sc/inc/clipcontext.hxx @@ -22,13 +22,7 @@ namespace sc { class ClipContextBase { - typedef boost::unordered_map<SCCOL, ColumnBlockPosition> ColumnsType; - typedef std::vector<ColumnsType> TablesType; - - ScDocument& mrDoc; - TablesType maTables; - SCTAB mnTabStart; - SCTAB mnTabEnd; + sc::ColumnBlockPositionSet maSet; ClipContextBase(); // disabled @@ -36,16 +30,13 @@ public: ClipContextBase(ScDocument& rDoc); virtual ~ClipContextBase(); - void setTabRange(SCTAB nStart, SCTAB nEnd); - - SCTAB getTabStart() const; - SCTAB getTabEnd() const; - ColumnBlockPosition* getBlockPosition(SCTAB nTab, SCCOL nCol); }; class CopyFromClipContext : public ClipContextBase { + SCTAB mnTabStart; + SCTAB mnTabEnd; ScDocument* mpRefUndoDoc; ScDocument* mpClipDoc; sal_uInt16 mnInsertFlag; @@ -61,6 +52,11 @@ public: virtual ~CopyFromClipContext(); + void setTabRange(SCTAB nStart, SCTAB nEnd); + + SCTAB getTabStart() const; + SCTAB getTabEnd() const; + ScDocument* getUndoDoc(); ScDocument* getClipDoc(); sal_uInt16 getInsertFlag() const; |