summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xechart.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/filter/excel/xechart.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/filter/excel/xechart.cxx')
-rw-r--r--sc/source/filter/excel/xechart.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index 83e5279e7a80..83c1d2ef2244 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -53,8 +53,6 @@
#include <com/sun/star/chart2/StackingDirection.hpp>
#include <com/sun/star/chart2/TickmarkStyle.hpp>
-#include <o3tl/make_unique.hxx>
-
#include <tools/gen.hxx>
#include <vcl/outdev.hxx>
#include <filter/msfilter/escherex.hxx>
@@ -2465,7 +2463,7 @@ void XclExpChTypeGroup::ConvertSeries(
if (bConnectBars && (maTypeInfo.meTypeCateg == EXC_CHTYPECATEG_BAR))
{
sal_uInt16 nKey = EXC_CHCHARTLINE_CONNECT;
- m_ChartLines.insert(std::make_pair(nKey, o3tl::make_unique<XclExpChLineFormat>(GetChRoot())));
+ m_ChartLines.insert(std::make_pair(nKey, std::make_unique<XclExpChLineFormat>(GetChRoot())));
}
}
else
@@ -2560,7 +2558,7 @@ void XclExpChTypeGroup::CreateAllStockSeries(
XclExpChLineFormatRef xLineFmt( new XclExpChLineFormat( GetChRoot() ) );
xLineFmt->Convert( GetChRoot(), aSeriesProp, EXC_CHOBJTYPE_HILOLINE );
sal_uInt16 nKey = EXC_CHCHARTLINE_HILO;
- m_ChartLines.insert(std::make_pair(nKey, o3tl::make_unique<XclExpChLineFormat>(GetChRoot())));
+ m_ChartLines.insert(std::make_pair(nKey, std::make_unique<XclExpChLineFormat>(GetChRoot())));
}
// dropbars
if( bHasOpen && bHasClose )