summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/undraw.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-02-04 19:14:42 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-02-07 09:02:36 +0100
commita944b4bb5c5a599f9aa3d25e7556e298d50efc9b (patch)
tree762a7c0b58306ce8f025c8d3b65a61c83d0f636d /sw/source/core/undo/undraw.cxx
parente44c31d68b026ad9cd954dc572cb1460958a6327 (diff)
o3tl::make_unique -> std::make_unique in sw
Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I871312c1077439377c67b76112f38b7019fa6fb1 Reviewed-on: https://gerrit.libreoffice.org/67376 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/core/undo/undraw.cxx')
-rw-r--r--sw/source/core/undo/undraw.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/undo/undraw.cxx b/sw/source/core/undo/undraw.cxx
index 8151736c7184..e5a7b6974541 100644
--- a/sw/source/core/undo/undraw.cxx
+++ b/sw/source/core/undo/undraw.cxx
@@ -45,7 +45,6 @@
#include <dview.hxx>
#include <rootfrm.hxx>
#include <viewsh.hxx>
-#include <o3tl/make_unique.hxx>
struct SwUndoGroupObjImpl
{
@@ -66,7 +65,7 @@ void SwDoc::AddDrawUndo( std::unique_ptr<SdrUndoAction> pUndo )
if( pSh && pSh->HasDrawView() )
pMarkList = &pSh->GetDrawView()->GetMarkedObjectList();
- GetIDocumentUndoRedo().AppendUndo( o3tl::make_unique<SwSdrUndo>(std::move(pUndo), pMarkList, this) );
+ GetIDocumentUndoRedo().AppendUndo( std::make_unique<SwSdrUndo>(std::move(pUndo), pMarkList, this) );
}
}