diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-29 13:56:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-29 13:57:17 +0200 |
commit | 014e7933af751bfe0a03867373b82efa806f3a3d (patch) | |
tree | 59be1f8b861bb6bb8a54e4c028683f15f0c615cf /svtools/source/graphic/graphicunofactory.cxx | |
parent | 14157dcdf175f1ef45903f7ec3ed85d0f7c76798 (diff) |
svtools: std::auto_ptr -> std::unique_ptr
...changing HTMLOptions to std::vector<std::unique_ptr<...>> because
boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr.
Change-Id: Ie5f92bc40ce5425dc1c634b17addc2b0dd9bbda3
Diffstat (limited to 'svtools/source/graphic/graphicunofactory.cxx')
-rw-r--r-- | svtools/source/graphic/graphicunofactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/graphicunofactory.cxx b/svtools/source/graphic/graphicunofactory.cxx index a55acad7a800..fe3ed7b7060c 100644 --- a/svtools/source/graphic/graphicunofactory.cxx +++ b/svtools/source/graphic/graphicunofactory.cxx @@ -37,7 +37,7 @@ typedef ::cppu::WeakImplHelper2< graphic::XGraphicObject, css::lang::XServiceInf class GObjectImpl : public GObjectAccess_BASE { ::osl::Mutex m_aMutex; - std::auto_ptr< GraphicObject > mpGObject; + std::unique_ptr< GraphicObject > mpGObject; public: GObjectImpl(uno::Sequence< uno::Any > const & args) throw (uno::RuntimeException); |