summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
Diffstat (limited to 'test/source')
-rw-r--r--test/source/mtfxmldump.cxx4
-rw-r--r--test/source/primitive2dxmldump.cxx4
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());