diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 17:10:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 07:59:14 +0000 |
commit | 3a00aaef2a51d7a1a87475a316dc9ae232fac60c (patch) | |
tree | 4cc4516528c0dcb0bb6871e5b517efb74550a521 /test | |
parent | c8ee3be0e08c435b106f0ac4b76618b33333b040 (diff) |
boost->std
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0
Reviewed-on: https://gerrit.libreoffice.org/18670
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/mtfxmldump.cxx | 4 | ||||
-rw-r--r-- | test/source/primitive2dxmldump.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/source/mtfxmldump.cxx b/test/source/mtfxmldump.cxx index d95cf642c0a9..f30e72729327 100644 --- a/test/source/mtfxmldump.cxx +++ b/test/source/mtfxmldump.cxx @@ -15,7 +15,7 @@ #include <rtl/string.hxx> #include <rtl/strbuf.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> namespace { @@ -232,7 +232,7 @@ void MetafileXmlDump::filterAllActionTypes() xmlDocPtr MetafileXmlDump::dumpAndParse(const GDIMetaFile& rMetaFile, const OUString& rTempStreamName) { - boost::scoped_ptr<SvStream> pStream; + std::unique_ptr<SvStream> pStream; if (rTempStreamName.isEmpty()) pStream.reset(new SvMemoryStream()); diff --git a/test/source/primitive2dxmldump.cxx b/test/source/primitive2dxmldump.cxx index e1be527f96a5..3d2328f51f36 100644 --- a/test/source/primitive2dxmldump.cxx +++ b/test/source/primitive2dxmldump.cxx @@ -14,7 +14,7 @@ #include <rtl/string.hxx> #include <rtl/strbuf.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> #include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx> #include <drawinglayer/primitive2d/transformprimitive2d.hxx> @@ -63,7 +63,7 @@ xmlDocPtr Primitive2dXmlDump::dumpAndParse( const drawinglayer::primitive2d::Primitive2DSequence& rPrimitive2DSequence, const OUString& rTempStreamName) { - boost::scoped_ptr<SvStream> pStream; + std::unique_ptr<SvStream> pStream; if (rTempStreamName.isEmpty()) pStream.reset(new SvMemoryStream()); |