diff options
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index d2f03be30fc0..f3948b8f9453 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -26,7 +26,7 @@ #include <libxml/xmlerror.h> #include <libxml/tree.h> -#include <boost/shared_ptr.hpp> +#include <memory> #include <rtl/alloc.h> #include <rtl/ustrbuf.hxx> @@ -318,7 +318,7 @@ namespace DOM ::osl::MutexGuard const g(m_Mutex); - ::boost::shared_ptr<xmlParserCtxt> const pContext( + std::shared_ptr<xmlParserCtxt> const pContext( xmlNewParserCtxt(), xmlFreeParserCtxt); // register error functions to prevent errors being printed @@ -351,7 +351,7 @@ namespace DOM { ::osl::MutexGuard const g(m_Mutex); - ::boost::shared_ptr<xmlParserCtxt> const pContext( + std::shared_ptr<xmlParserCtxt> const pContext( xmlNewParserCtxt(), xmlFreeParserCtxt); pContext->_private = this; pContext->sax->error = error_func; |