summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 14:17:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 09:28:44 +0200
commit639df4d76d545ca23021f69a9d738a9a92c148cd (patch)
tree87b20ea1518f6a878102a367c211cb6f93c554fd /svl
parentFix typo in code (diff)
downloadcore-639df4d76d545ca23021f69a9d738a9a92c148cd.tar.gz
core-639df4d76d545ca23021f69a9d738a9a92c148cd.zip
use more std::make_unique
Change-Id: I7d85cbc9105c5e0c4a8d9a69c4ac9d6dfc07eabd Reviewed-on: https://gerrit.libreoffice.org/70663 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddesvr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index cb1fd8be147d..d64df8742259 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -93,7 +93,7 @@ HDDEDATA CALLBACK DdeInternal::SvrCallback(
if( !nTopics )
return nullptr;
- auto pPairs = std::unique_ptr<HSZPAIR[]>(new HSZPAIR [nTopics + 1]);
+ auto pPairs = std::make_unique<HSZPAIR[]>(nTopics + 1);
HSZPAIR* q = pPairs.get();
for (auto& rpService : rAll)