diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-21 14:33:44 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-21 14:35:52 +0900 |
commit | 5f17e5eaad665337c7d8b7f05a61adc21d80a073 (patch) | |
tree | fa653f05c3724046dc9bd373f1e66fd462f282b3 /forms/source/component/ImageControl.cxx | |
parent | 24dd10c727ab2d7a38368292498520e11d98e3cb (diff) |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
Diffstat (limited to 'forms/source/component/ImageControl.cxx')
-rw-r--r-- | forms/source/component/ImageControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index fe648ab9e6b2..c959ab9c7dd6 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -56,7 +56,7 @@ #include <unotools/ucbstreamhelper.hxx> #include <svl/urihelper.hxx> -#include <memory> +#include <boost/scoped_ptr.hpp> #define ID_OPEN_GRAPHICS 1 #define ID_CLEAR_GRAPHICS 2 @@ -412,7 +412,7 @@ void OImageControlModel::read(const Reference<XObjectInputStream>& _rxInStream) sal_Bool OImageControlModel::impl_updateStreamForURL_lck( const OUString& _rURL, ValueChangeInstigator _eInstigator ) { // create a stream for the image specified by the URL - ::std::auto_ptr< SvStream > pImageStream; + boost::scoped_ptr< SvStream > pImageStream; Reference< XInputStream > xImageStream; if ( ::svt::GraphicAccess::isSupportedURL( _rURL ) ) |