summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-01 17:18:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-01 17:35:14 +0200
commit701d024e41e9f085040fd3e9c07e2737464ae4f2 (patch)
treeeadc8fdca4d8fbfc8cbb5500956b39796cabd9e3 /unoxml
parentee8e81ad860f70a8c2467eaba79df93fe32e9c17 (diff)
unoxml: std::auto_ptr -> std::unique_ptr
Change-Id: Ib7da2401529bbff92611abdab44d26ff009e38b3
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/attr.hxx2
-rw-r--r--unoxml/source/dom/document.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx
index eb85df90947d..5046e9db4567 100644
--- a/unoxml/source/dom/attr.hxx
+++ b/unoxml/source/dom/attr.hxx
@@ -46,7 +46,7 @@ namespace DOM
private:
xmlAttrPtr m_aAttrPtr;
- ::std::auto_ptr< stringpair_t > m_pNamespace;
+ ::std::unique_ptr< stringpair_t > m_pNamespace;
protected:
CAttr(CDocument const& rDocument, ::osl::Mutex const& rMutex,
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index aef573fa6c94..a4ef13a73aa1 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -83,7 +83,7 @@ namespace DOM
::std::pair< css::uno::WeakReference<css::xml::dom::XNode>, CNode* > > nodemap_t;
nodemap_t m_NodeMap;
- ::std::auto_ptr<events::CEventDispatcher> const m_pEventDispatcher;
+ ::std::unique_ptr<events::CEventDispatcher> const m_pEventDispatcher;
CDocument(xmlDocPtr const pDocPtr);