summaryrefslogtreecommitdiff
path: root/sc/inc/undorangename.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-03 18:40:35 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-03 20:15:01 +0100
commitc8fd64a7d909036c4b701d3aaee11b37f378bcce (patch)
treee653900b08e6153f908018dd80eb137b193a20c4 /sc/inc/undorangename.hxx
parent377bc06165f4a5cad8f67d69e021c51cb2a64180 (diff)
ptr_map does not need a pointer as template argument
I don't understand why c++ did not complain about it but it resulted in really strange crashs
Diffstat (limited to 'sc/inc/undorangename.hxx')
-rw-r--r--sc/inc/undorangename.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/undorangename.hxx b/sc/inc/undorangename.hxx
index df6ff23e97ab..8a252c259b39 100644
--- a/sc/inc/undorangename.hxx
+++ b/sc/inc/undorangename.hxx
@@ -54,7 +54,7 @@ public:
virtual String GetComment() const;
private:
- void DoChange(const boost::ptr_map<rtl::OUString, ScRangeName*>& rNames);
+ void DoChange(const boost::ptr_map<rtl::OUString, ScRangeName>& rNames);
private:
boost::ptr_map<rtl::OUString, ScRangeName> maOldNames;