summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/undorangename.hxx2
-rw-r--r--sc/source/ui/undo/undorangename.cxx2
2 files changed, 2 insertions, 2 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;
diff --git a/sc/source/ui/undo/undorangename.cxx b/sc/source/ui/undo/undorangename.cxx
index 7bc565a3a023..9bf31b265ef0 100644
--- a/sc/source/ui/undo/undorangename.cxx
+++ b/sc/source/ui/undo/undorangename.cxx
@@ -92,7 +92,7 @@ String ScUndoAllRangeNames::GetComment() const
return ScGlobal::GetRscString(STR_UNDO_RANGENAMES);
}
-void ScUndoAllRangeNames::DoChange(const boost::ptr_map<rtl::OUString, ScRangeName*>& rNames)
+void ScUndoAllRangeNames::DoChange(const boost::ptr_map<rtl::OUString, ScRangeName>& rNames)
{
ScDocument& rDoc = *pDocShell->GetDocument();