summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/dbfunc3.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-26 19:58:39 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-29 07:15:17 +0100
commit6d5af783bfd899253908c926853233a99df6f4e0 (patch)
treefa55756e111c599c3147b161212967e63e278ccc /sc/source/ui/view/dbfunc3.cxx
parent7a576383308edec3d6538986310264bfc0f1c213 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/dbfunc3.cxx')
-rw-r--r--sc/source/ui/view/dbfunc3.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index ce2eff3e8c9d..f88001337b7e 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -26,7 +26,6 @@
#include <svl/zforlist.hxx>
#include <sfx2/app.hxx>
#include <unotools/collatorwrapper.hxx>
-#include <o3tl/make_unique.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
@@ -527,7 +526,7 @@ void ScDBFunc::DoSubTotals( const ScSubTotalParam& rParam, bool bRecord,
if (bRecord)
{
pDocSh->GetUndoManager()->AddUndoAction(
- o3tl::make_unique<ScUndoSubTotals>( pDocSh, nTab,
+ std::make_unique<ScUndoSubTotals>( pDocSh, nTab,
rParam, aNewParam.nRow2,
std::move(pUndoDoc), std::move(pUndoTab), // pUndoDBData,
std::move(pUndoRange), std::move(pUndoDB) ) );
@@ -614,7 +613,7 @@ bool ScDBFunc::MakePivotTable(
if (bUndo)
{
pDocSh->GetUndoManager()->AddUndoAction(
- o3tl::make_unique<ScUndoInsertTab>( pDocSh, nNewTab, bAppend, lcl_MakePivotTabName( aName, i ) ));
+ std::make_unique<ScUndoInsertTab>( pDocSh, nNewTab, bAppend, lcl_MakePivotTabName( aName, i ) ));
}
GetViewData().InsertTab( nNewTab );
@@ -2219,7 +2218,7 @@ void ScDBFunc::RepeatDB( bool bRecord )
}
GetViewData().GetDocShell()->GetUndoManager()->AddUndoAction(
- o3tl::make_unique<ScUndoRepeatDB>( GetViewData().GetDocShell(), nTab,
+ std::make_unique<ScUndoRepeatDB>( GetViewData().GetDocShell(), nTab,
nStartCol, nStartRow, nEndCol, nEndRow,
nNewEndRow,
nCurX, nCurY,