diff options
Diffstat (limited to 'hwpfilter/source/hwpreader.cxx')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index d79b8f506590..ec305db4e40d 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -18,6 +18,7 @@ */ #include <deque> +#include <memory> #include <boost/shared_ptr.hpp> @@ -25,7 +26,6 @@ #include <math.h> #include <comphelper/newarray.hxx> -#include <o3tl/heap_ptr.hxx> #include "fontmap.hxx" #include "formula.h" @@ -131,7 +131,7 @@ sal_Bool HwpReader::filter(const Sequence< PropertyValue >& rDescriptor) throw(R Reference< XInputStream > xInputStream( aDescriptor[utl::MediaDescriptor::PROP_INPUTSTREAM()], UNO_QUERY_THROW); - o3tl::heap_ptr<HStream> stream(new HStream); + std::unique_ptr<HStream> stream(new HStream); Sequence < sal_Int8 > aBuffer; sal_Int32 nRead, nBlock = 32768, nTotal = 0; while( true ) |