diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-13 15:13:32 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-16 07:20:49 +0100 |
commit | e48e063254caa7eb26b5c3c50fd64236d59ed553 (patch) | |
tree | df7519af69e3d8c016cf1d0823bc1365afacc6ce /basctl/source/basicide/moduldlg.cxx | |
parent | b0f3f3094cb3944945dcd59e7fd44f7fe0b433b7 (diff) |
o3tl::make_unique -> std::make_unique in basctl...bridges
Since it is now possible to use C++14, it's time to replace
the temporary solution with the standard one
Change-Id: I9a20a58c68d12656359dcaa060d8ab41f621af32
Reviewed-on: https://gerrit.libreoffice.org/66262
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 6c67b1116282..ff02dbf7522d 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -29,7 +29,6 @@ #include <basic/basmgr.hxx> #include <com/sun/star/script/XLibraryContainerPassword.hpp> #include <comphelper/processfactory.hxx> -#include <o3tl/make_unique.hxx> #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/request.hxx> @@ -862,7 +861,7 @@ void ObjectPage::NewDialog() aDlgName, Image(StockImage::Yes, RID_BMP_DIALOG), pLibEntry, false, - o3tl::make_unique<Entry>(OBJ_TYPE_DIALOG)); + std::make_unique<Entry>(OBJ_TYPE_DIALOG)); DBG_ASSERT( pEntry, "Insert entry failed!" ); } m_pBasicBox->SetCurEntry( pEntry ); @@ -1031,7 +1030,7 @@ SbModule* createModImpl(weld::Window* pWin, const ScriptDocument& rDocument, aModName, Image(StockImage::Yes, RID_BMP_MODULE), pSubRootEntry, false, - o3tl::make_unique<Entry>(OBJ_TYPE_MODULE)); + std::make_unique<Entry>(OBJ_TYPE_MODULE)); DBG_ASSERT( pEntry, "Insert entry failed!" ); } rBasicBox.SetCurEntry( pEntry ); @@ -1127,7 +1126,7 @@ SbModule* createModImpl(weld::Window* pWin, const ScriptDocument& rDocument, if (!bEntry) { rBasicBox.AddEntry(aModName, RID_BMP_MODULE, xEntry.get(), false, - o3tl::make_unique<Entry>(OBJ_TYPE_MODULE)); + std::make_unique<Entry>(OBJ_TYPE_MODULE)); } rBasicBox.set_cursor(*xEntry); rBasicBox.select(*xEntry); |