summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo/undorangename.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undorangename.cxx')
-rw-r--r--sc/source/ui/undo/undorangename.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undorangename.cxx b/sc/source/ui/undo/undorangename.cxx
index d384bc8b91d3..5bbcd0b47852 100644
--- a/sc/source/ui/undo/undorangename.cxx
+++ b/sc/source/ui/undo/undorangename.cxx
@@ -55,13 +55,17 @@ ScUndoAllRangeNames::ScUndoAllRangeNames(
ScRangeName::TabNameCopyMap::const_iterator itr, itrEnd;
for (itr = rOldLocal.begin(), itrEnd = rOldLocal.end(); itr != itrEnd; ++itr)
{
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
auto_ptr<ScRangeName> p(new ScRangeName(*itr->second));
+ SAL_WNODEPRECATED_DECLARATIONS_POP
maOldLocalNames.insert(itr->first, p);
}
for (itr = rNewLocal.begin(), itrEnd = rNewLocal.end(); itr != itrEnd; ++itr)
{
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
auto_ptr<ScRangeName> p(new ScRangeName(*itr->second));
+ SAL_WNODEPRECATED_DECLARATIONS_POP
maNewLocalNames.insert(itr->first, p);
}
}