diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-04 13:57:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-05 08:08:09 +0200 |
commit | dbe85d6613f96192417059acb3274e981a57819d (patch) | |
tree | 9914c026427f93b4779738a3ae823754f7304fe2 /sw/source/core/doc/docbm.cxx | |
parent | d46061c3190b66cbf698f6ff5e97ec1fd9fe0d44 (diff) |
use std::unique_ptr in sw::IDocumentUndoRedo
Change-Id: I504706ff1a3fc11a7a06ebe935f9dbc5323aefe8
Reviewed-on: https://gerrit.libreoffice.org/61369
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/docbm.cxx')
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index ac55e203a51c..7782dfe290f6 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -584,7 +584,7 @@ namespace sw { namespace mark if (m_pDoc->GetIDocumentUndoRedo().DoesUndo()) { m_pDoc->GetIDocumentUndoRedo().AppendUndo( - new SwUndoRenameBookmark(sOldName, rNewName, m_pDoc)); + o3tl::make_unique<SwUndoRenameBookmark>(sOldName, rNewName, m_pDoc)); } m_pDoc->getIDocumentState().SetModified(); } |