diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-15 15:35:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-16 15:34:23 +0100 |
commit | 31ebd9f475f94fb4f05bbeaa8077122a2635d528 (patch) | |
tree | 0f3eb9182102e613ee08706750e2b72fd1db239e /svx/source/xoutdev | |
parent | 21b2cb540aaa308ea1911af34dc4862a24dcb545 (diff) |
boost->std
Change-Id: Ic18be8b86727dd1179a7e39c70493d088ed00557
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r-- | svx/source/xoutdev/xexch.cxx | 4 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabdash.cxx | 4 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabgrdt.cxx | 4 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabhtch.cxx | 4 | ||||
-rw-r--r-- | svx/source/xoutdev/xtablend.cxx | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/xoutdev/xexch.cxx b/svx/source/xoutdev/xexch.cxx index 38897751a704..69c0016f9883 100644 --- a/svx/source/xoutdev/xexch.cxx +++ b/svx/source/xoutdev/xexch.cxx @@ -26,7 +26,7 @@ #include <svl/itemset.hxx> #include <svx/xdef.hxx> #include "svx/xexch.hxx" -#include <boost/scoped_ptr.hpp> +#include <memory> /// default CTOR, for Assign() @@ -107,7 +107,7 @@ SvStream& ReadXFillExchangeData( SvStream& rIStm, XFillExchangeData& rData ) if( nWhich ) { - boost::scoped_ptr<SfxPoolItem> pNewItem(rData.pPool->GetDefaultItem( nWhich ).Create( rIStm, nItemVersion )); + std::unique_ptr<SfxPoolItem> pNewItem(rData.pPool->GetDefaultItem( nWhich ).Create( rIStm, nItemVersion )); if( pNewItem ) { diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 97635e33420b..32ffa31aa323 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -31,7 +31,7 @@ #include <drawinglayer/attribute/strokeattribute.hxx> #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace com::sun::star; @@ -159,7 +159,7 @@ Bitmap XDashList::ImpCreateBitmapForXDash(const XDash* pDash) } // create processor and draw primitives - boost::scoped_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( + std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( *pVirtualDevice.get(), aNewViewInformation2D)); diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx index 753cf3f1ada2..213236c965ae 100644 --- a/svx/source/xoutdev/xtabgrdt.cxx +++ b/svx/source/xoutdev/xtabgrdt.cxx @@ -32,7 +32,7 @@ #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace com::sun::star; @@ -190,7 +190,7 @@ Bitmap XGradientList::CreateBitmapForUI( long nIndex ) : DrawModeFlags::Default); // create processor and draw primitives - boost::scoped_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( + std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( *pVirtualDevice.get(), aNewViewInformation2D)); diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index 9586aa7b2056..90316c15a94c 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -31,7 +31,7 @@ #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace ::com::sun::star; @@ -165,7 +165,7 @@ Bitmap XHatchList::CreateBitmapForUI( long nIndex ) } // create processor and draw primitives - boost::scoped_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( + std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( *pVirtualDevice.get(), aNewViewInformation2D)); diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx index b5fcaa71693c..0429ca43d1da 100644 --- a/svx/source/xoutdev/xtablend.cxx +++ b/svx/source/xoutdev/xtablend.cxx @@ -31,7 +31,7 @@ #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace com::sun::star; @@ -148,7 +148,7 @@ Bitmap XLineEndList::CreateBitmapForUI( long nIndex ) } // create processor and draw primitives - boost::scoped_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( + std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice( *pVirtualDevice.get(), aNewViewInformation2D)); |