From 0c64df243259f574daaa4bc03bc4ddcc791c9073 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 21 Jan 2019 21:26:50 +0100 Subject: 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 --- lotuswordpro/source/filter/lwptblformula.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx index 4a1e6ecd8978..26081262ad5b 100644 --- a/lotuswordpro/source/filter/lwptblformula.cxx +++ b/lotuswordpro/source/filter/lwptblformula.cxx @@ -67,7 +67,6 @@ #include #include #include -#include #include LwpFormulaArg::~LwpFormulaArg() @@ -88,7 +87,7 @@ void LwpFormulaInfo::ReadConst() { double Constant = m_pObjStrm->QuickReadDouble(); - m_aStack.push_back( o3tl::make_unique(Constant) ); + m_aStack.push_back( std::make_unique(Constant) ); } /** @@ -107,7 +106,7 @@ void LwpFormulaInfo::ReadText() aText += OUString(aBuf.data(), nStrLen, osl_getThreadTextEncoding()); aText += "\""; - m_aStack.push_back(o3tl::make_unique(aText)); + m_aStack.push_back(std::make_unique(aText)); } void LwpFormulaInfo::ReadCellID() @@ -118,7 +117,7 @@ void LwpFormulaInfo::ReadCellID() RowSpecifier.QuickRead(m_pObjStrm.get()); ColumnSpecifier.QuickRead(m_pObjStrm.get()); - m_aStack.push_back( o3tl::make_unique(ColumnSpecifier.ColumnID(cColumn), + m_aStack.push_back( std::make_unique(ColumnSpecifier.ColumnID(cColumn), RowSpecifier.RowID(m_nFormulaRow)) ); } @@ -132,7 +131,7 @@ void LwpFormulaInfo::ReadCellRange() std::unique_ptr pEndCellAddr(static_cast(m_aStack.back().release())); m_aStack.pop_back(); - m_aStack.push_back( o3tl::make_unique(pStartCellAddr->GetCol(), + m_aStack.push_back( std::make_unique(pStartCellAddr->GetCol(), pStartCellAddr->GetRow(), pEndCellAddr->GetCol(), pEndCellAddr->GetRow()) ); -- cgit