summaryrefslogtreecommitdiffstats
path: root/sc/inc/undorangename.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-15 17:27:02 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-03-15 23:51:41 -0400
commit23ae9e4a45758918e0f0b08714dd7de2b0b63c0f (patch)
treededa31f7161a95714a3577ad78e242859ce51b4c /sc/inc/undorangename.hxx
parentImplement undo and redo for real. (diff)
downloadcore-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.hxx2
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;