summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/confuno.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/unoobj/confuno.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/unoobj/confuno.cxx')
-rw-r--r--sc/source/ui/unoobj/confuno.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 229730e1afc8..2911132562b8 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -39,7 +39,6 @@
#include <com/sun/star/document/LinkUpdateModes.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <formula/grammar.hxx>
-#include <o3tl/make_unique.hxx>
#include <sfx2/printer.hxx>
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
@@ -243,7 +242,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue(
{
SvMemoryStream aStream (aSequence.getArray(), nSize, StreamMode::READ );
aStream.Seek ( STREAM_SEEK_TO_BEGIN );
- auto pSet = o3tl::make_unique<SfxItemSet>( *rDoc.GetPool(),
+ auto pSet = std::make_unique<SfxItemSet>( *rDoc.GetPool(),
svl::Items<SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
SID_PRINT_SELECTEDSHEET, SID_PRINT_SELECTEDSHEET,