diff options
Diffstat (limited to 'sfx2/source/doc/graphhelp.cxx')
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 1167db357c70..f4ad0b23df4d 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -53,7 +53,7 @@ #include "graphhelp.hxx" #include "doc.hrc" -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace css; @@ -184,7 +184,7 @@ bool GraphicHelper::getThumbnailFormatFromGDI_Impl(GDIMetaFile* pMetaFile, const if (!pMetaFile || !xStream.is()) return false; - boost::scoped_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xStream)); + std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xStream)); if (pStream->GetError()) return false; |