diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-21 21:26:50 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-22 08:38:28 +0100 |
commit | 0c64df243259f574daaa4bc03bc4ddcc791c9073 (patch) | |
tree | 657a489d604ae2f7938369ef1789e746df0a3e69 /idl/source/cmptools/hash.cxx | |
parent | fd8a724d22c92e3ebef4a3da126baaac3d3bde79 (diff) |
o3tl::make_unique -> std::make_unique in i18npool...reportdesign
Since it is now possible to use C++14, it's time to replace
the temporary solution with the standard one
Change-Id: I8bee1344f7df82536f31bc5e4ec4fd379cac1d04
Reviewed-on: https://gerrit.libreoffice.org/66704
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/source/cmptools/hash.cxx')
-rw-r--r-- | idl/source/cmptools/hash.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index 22899d6e5c64..ef11b489e5ae 100644 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -25,7 +25,6 @@ #include <hash.hxx> #include <rtl/character.hxx> -#include <o3tl/make_unique.hxx> SvStringHashEntry * SvStringHashTable::Insert( const OString& rElement, sal_uInt32 * pInsertPos ) { @@ -35,7 +34,7 @@ SvStringHashEntry * SvStringHashTable::Insert( const OString& rElement, sal_uInt return maInt2EntryMap[*pInsertPos].get(); } maString2IntMap[rElement] = mnNextId; - maInt2EntryMap[mnNextId] = o3tl::make_unique<SvStringHashEntry>(rElement); + maInt2EntryMap[mnNextId] = std::make_unique<SvStringHashEntry>(rElement); *pInsertPos = mnNextId; mnNextId++; return maInt2EntryMap[*pInsertPos].get(); |