Kaydet (Commit) 3ed902fe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

slideshow: std::auto_ptr -> std::unique_ptr

Change-Id: If5b81c423ec7e21f26b641b252b722d4bf467c13
üst 5b401a06
...@@ -75,7 +75,6 @@ namespace slideshow ...@@ -75,7 +75,6 @@ namespace slideshow
const uno::Reference< drawing::XShape >& rxShape, const uno::Reference< drawing::XShape >& rxShape,
const uno::Reference< uno::XComponentContext >& rxContext ) : const uno::Reference< uno::XComponentContext >& rxContext ) :
mpViewLayer( rViewLayer ), mpViewLayer( rViewLayer ),
mpMediaWindow(0),
mpEventHandlerParent(0), mpEventHandlerParent(0),
maWindowOffset( 0, 0 ), maWindowOffset( 0, 0 ),
maBounds(), maBounds(),
......
...@@ -147,7 +147,7 @@ namespace slideshow ...@@ -147,7 +147,7 @@ namespace slideshow
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rVCLDeviceParams, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rVCLDeviceParams,
const OUString& rMimeType ); const OUString& rMimeType );
ViewLayerSharedPtr mpViewLayer; ViewLayerSharedPtr mpViewLayer;
::std::auto_ptr< SystemChildWindow > mpMediaWindow; ::std::unique_ptr< SystemChildWindow > mpMediaWindow;
boost::scoped_ptr< ::vcl::Window > mpEventHandlerParent; boost::scoped_ptr< ::vcl::Window > mpEventHandlerParent;
mutable ::com::sun::star::awt::Point maWindowOffset; mutable ::com::sun::star::awt::Point maWindowOffset;
mutable ::basegfx::B2DRectangle maBounds; mutable ::basegfx::B2DRectangle maBounds;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment