diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-02-01 18:53:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-24 09:37:56 +0200 |
commit | f29c0b2b3e8861909fa2c6c37bf631ab01590541 (patch) | |
tree | 079aa9796ede8518a6b290f1184f25ac171173c0 /slideshow/test | |
parent | 1b6a84a5a24e7e02c6066ca0fcb5a0011d2decd6 (diff) |
boost::shared_ptr->std::shared_ptr in slideshow
Change-Id: I27da6bc550488ea65ccdf1d26f8178f803f495d6
Diffstat (limited to 'slideshow/test')
-rw-r--r-- | slideshow/test/tests.hxx | 8 | ||||
-rw-r--r-- | slideshow/test/testview.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/test/tests.hxx b/slideshow/test/tests.hxx index 7ce77859903e..71971b65d0e9 100644 --- a/slideshow/test/tests.hxx +++ b/slideshow/test/tests.hxx @@ -22,7 +22,7 @@ #include "animatableshape.hxx" #include "unoview.hxx" -#include <boost/shared_ptr.hpp> +#include <memory> namespace basegfx{ class B1DRange; class B2DRange; class B2DVector; } @@ -37,10 +37,10 @@ public: virtual bool wasClipSet() const = 0; virtual basegfx::B2DRange getBounds() const = 0; - virtual std::vector<boost::shared_ptr<TestView> > getViewLayers() const = 0; + virtual std::vector<std::shared_ptr<TestView> > getViewLayers() const = 0; }; -typedef boost::shared_ptr<TestView> TestViewSharedPtr; +typedef std::shared_ptr<TestView> TestViewSharedPtr; TestViewSharedPtr createTestView(); @@ -54,7 +54,7 @@ public: virtual sal_Int32 getAnimationCount() const = 0; }; -typedef boost::shared_ptr<TestShape> TestShapeSharedPtr; +typedef std::shared_ptr<TestShape> TestShapeSharedPtr; TestShapeSharedPtr createTestShape(const basegfx::B2DRange& rRect, double nPrio); diff --git a/slideshow/test/testview.cxx b/slideshow/test/testview.cxx index 9538e928872c..bac8ab5998ec 100644 --- a/slideshow/test/testview.cxx +++ b/slideshow/test/testview.cxx @@ -160,7 +160,7 @@ public: return maBounds; } - virtual std::vector<boost::shared_ptr<TestView> > getViewLayers() const + virtual std::vector<std::shared_ptr<TestView> > getViewLayers() const { return maViewLayers; } |