diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 15:36:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 18:43:31 +0100 |
commit | 860b6deee0fad17923499adf4c0b6d74df3fc500 (patch) | |
tree | a33a749874502d9a24997c7b5b529ccdf47b7d87 /avmedia | |
parent | 660c1889c9fc975477a56aab2f45da65bbd29466 (diff) |
auto_ptr -> scoped_ptr
Change-Id: Ia84ebb07de6c2b5c62340b530c908fc919b34b0a
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index 33c2618da68f..3835bc1e13ba 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -20,6 +20,7 @@ #include <stdio.h> #include <avmedia/mediawindow.hxx> +#include <boost/scoped_ptr.hpp> #include "mediawindow_impl.hxx" #include "mediamisc.hxx" #include "mediawindow.hrc" @@ -398,7 +399,7 @@ uno::Reference< graphic::XGraphic > MediaWindow::grabFrame( const OUString& rURL { uno::Reference< media::XPlayer > xPlayer( createPlayer( rURL, rReferer ) ); uno::Reference< graphic::XGraphic > xRet; - ::std::auto_ptr< Graphic > apGraphic; + boost::scoped_ptr< Graphic > apGraphic; if( xPlayer.is() ) { |