diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-02-04 19:14:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-07 09:02:36 +0100 |
commit | a944b4bb5c5a599f9aa3d25e7556e298d50efc9b (patch) | |
tree | 762a7c0b58306ce8f025c8d3b65a61c83d0f636d /sw/source/core/docnode/ndsect.cxx | |
parent | e44c31d68b026ad9cd954dc572cb1460958a6327 (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/docnode/ndsect.cxx')
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index aaefcce05412..7d53274c94cf 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -58,7 +58,6 @@ #include <hints.hxx> #include <memory> #include "ndsect.hxx" -#include <o3tl/make_unique.hxx> #include <tools/datetimeutils.hxx> // #i21457# - new implementation of local method <lcl_IsInSameTableBox(..)>. @@ -537,7 +536,7 @@ void SwDoc::DelSectionFormat( SwSectionFormat *pFormat, bool bDelNodes ) { SwNodeIndex aUpdIdx( *pIdx ); SwPaM aPaM( *pSectNd->EndOfSectionNode(), *pSectNd ); - GetIDocumentUndoRedo().AppendUndo( o3tl::make_unique<SwUndoDelete>( aPaM )); + GetIDocumentUndoRedo().AppendUndo( std::make_unique<SwUndoDelete>( aPaM )); if( pFootnoteEndAtTextEnd ) GetFootnoteIdxs().UpdateFootnote( aUpdIdx ); getIDocumentState().SetModified(); |