diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-15 17:27:02 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-15 23:51:41 -0400 |
commit | 23ae9e4a45758918e0f0b08714dd7de2b0b63c0f (patch) | |
tree | deda31f7161a95714a3577ad78e242859ce51b4c /sc/inc/undorangename.hxx | |
parent | Implement undo and redo for real. (diff) | |
download | core-23ae9e4a45758918e0f0b08714dd7de2b0b63c0f.tar.gz core-23ae9e4a45758918e0f0b08714dd7de2b0b63c0f.zip |
Hopefully implemented the undo part, plus lazy-init the global range name.
Went through the code to make sure we check for NULL pointer before doing
anything with the global range name instance. Calling GetRangeName()
initializes the range name instance on-demand.
Diffstat (limited to 'sc/inc/undorangename.hxx')
-rw-r--r-- | sc/inc/undorangename.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/undorangename.hxx b/sc/inc/undorangename.hxx index ee8fc41ad3fd..eb3d5aabad0f 100644 --- a/sc/inc/undorangename.hxx +++ b/sc/inc/undorangename.hxx @@ -54,6 +54,8 @@ public: virtual String GetComment() const; private: + +private: ScRangeName maOldGlobalNames; ScRangeName maNewGlobalNames; ScRangeName::TabNameMap maOldLocalNames; |