diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-17 12:40:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-20 20:16:45 -0400 |
commit | 96c870ea3dd86649dca7f7228591de7253d6653d (patch) | |
tree | 89be9865b1b6fb3755c3adb87fe788fb1dc57c9d /sc/inc/clipcontext.hxx | |
parent | Move the boolean flags to the context bucket. (diff) | |
download | core-96c870ea3dd86649dca7f7228591de7253d6653d.tar.gz core-96c870ea3dd86649dca7f7228591de7253d6653d.zip |
Do the same thing for CopyToDocument.
This removes O(n^2) slowness from undo and redo of a large array of
cells with empty cells in between.
Change-Id: Id87c8ac8986c97ddf305f849a4752f0f92cc5899
Diffstat (limited to 'sc/inc/clipcontext.hxx')
-rw-r--r-- | sc/inc/clipcontext.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx index 0df627c77091..4d9224f425b6 100644 --- a/sc/inc/clipcontext.hxx +++ b/sc/inc/clipcontext.hxx @@ -83,6 +83,13 @@ public: bool isCloneNotes() const; }; +class CopyToDocContext : public ClipContextBase +{ +public: + CopyToDocContext(ScDocument& rDoc); + virtual ~CopyToDocContext(); +}; + } #endif |