From 6d5af783bfd899253908c926853233a99df6f4e0 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 26 Jan 2019 19:58:39 +0100 Subject: o3tl::make_unique -> std::make_unique in sc Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: Ib69a4a2a08b1edbc0f40beac00f7f68075b479a1 Reviewed-on: https://gerrit.libreoffice.org/66967 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/excel/xilink.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sc/source/filter/excel/xilink.cxx') diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx index d1b353f39795..5c2337310ab5 100644 --- a/sc/source/filter/excel/xilink.cxx +++ b/sc/source/filter/excel/xilink.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include #include @@ -638,7 +637,7 @@ XclImpSupbook::XclImpSupbook( XclImpStream& rStrm ) : if( maXclUrl.equalsIgnoreAsciiCase( "\010EUROTOOL.XLA" ) ) { meType = XclSupbookType::Eurotool; - maSupbTabList.push_back( o3tl::make_unique( maXclUrl ) ); + maSupbTabList.push_back( std::make_unique( maXclUrl ) ); } else if( nSBTabCnt ) { @@ -657,14 +656,14 @@ XclImpSupbook::XclImpSupbook( XclImpStream& rStrm ) : for( sal_uInt16 nSBTab = 0; nSBTab < nSBTabCnt; ++nSBTab ) { OUString aTabName( rStrm.ReadUniString() ); - maSupbTabList.push_back( o3tl::make_unique( aTabName ) ); + maSupbTabList.push_back( std::make_unique( aTabName ) ); } } else { meType = XclSupbookType::Special; // create dummy list entry - maSupbTabList.push_back( o3tl::make_unique( maXclUrl ) ); + maSupbTabList.push_back( std::make_unique( maXclUrl ) ); } } @@ -691,7 +690,7 @@ void XclImpSupbook::ReadCrn( XclImpStream& rStrm ) void XclImpSupbook::ReadExternname( XclImpStream& rStrm, ExcelToSc* pFormulaConv ) { - maExtNameList.push_back( o3tl::make_unique( *this, rStrm, meType, pFormulaConv ) ); + maExtNameList.push_back( std::make_unique( *this, rStrm, meType, pFormulaConv ) ); } const XclImpExtName* XclImpSupbook::GetExternName( sal_uInt16 nXclIndex ) const @@ -782,7 +781,7 @@ void XclImpLinkManagerImpl::ReadExternsheet( XclImpStream& rStrm ) void XclImpLinkManagerImpl::ReadSupbook( XclImpStream& rStrm ) { - maSupbookList.push_back( o3tl::make_unique( rStrm ) ); + maSupbookList.push_back( std::make_unique( rStrm ) ); } void XclImpLinkManagerImpl::ReadXct( XclImpStream& rStrm ) -- cgit