diff options
Diffstat (limited to 'sc/source/ui/drawfunc/drawsh5.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drawsh5.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx index 8cd59b32e9ff..cc036a2bd5e4 100644 --- a/sc/source/ui/drawfunc/drawsh5.cxx +++ b/sc/source/ui/drawfunc/drawsh5.cxx @@ -522,7 +522,7 @@ void ScDrawShell::ExecDrawFunc( SfxRequest& rReq ) if(!aPersistName.isEmpty()) { pDocSh->GetUndoManager()->AddUndoAction( - new ScUndoRenameObject(pDocSh, aPersistName, pSelected->GetName(), aName)); + o3tl::make_unique<ScUndoRenameObject>(pDocSh, aPersistName, pSelected->GetName(), aName)); } } |