diff options
Diffstat (limited to 'unoxml/source/dom/element.cxx')
-rw-r--r-- | unoxml/source/dom/element.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx index ee2a25c81cb6..48abfdd21649 100644 --- a/unoxml/source/dom/element.cxx +++ b/unoxml/source/dom/element.cxx @@ -21,7 +21,7 @@ #include <string.h> -#include <boost/shared_ptr.hpp> +#include <memory> #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> @@ -240,7 +240,7 @@ namespace DOM } // search properties OString o1 = OUStringToOString(name, RTL_TEXTENCODING_UTF8); - ::boost::shared_ptr<xmlChar const> const pValue( + std::shared_ptr<xmlChar const> const pValue( xmlGetProp(m_aNodePtr, reinterpret_cast<xmlChar const *>(o1.getStr())), xmlFree); OUString const ret( (pValue) ? OUString(reinterpret_cast<sal_Char const*>(pValue.get()), @@ -324,7 +324,7 @@ namespace DOM OString o2 = OUStringToOString(namespaceURI, RTL_TEXTENCODING_UTF8); xmlChar const*const pNS = reinterpret_cast<xmlChar const*>(o2.getStr()); - ::boost::shared_ptr<xmlChar const> const pValue( + std::shared_ptr<xmlChar const> const pValue( xmlGetNsProp(m_aNodePtr, pName, pNS), xmlFree); if (0 == pValue) { return OUString(); @@ -628,7 +628,7 @@ namespace DOM } OUString oldValue; AttrChangeType aChangeType = AttrChangeType_MODIFICATION; - ::boost::shared_ptr<xmlChar const> const pOld( + std::shared_ptr<xmlChar const> const pOld( xmlGetProp(m_aNodePtr, xName), xmlFree); if (pOld == 0) { aChangeType = AttrChangeType_ADDITION; @@ -711,7 +711,7 @@ namespace DOM OUString oldValue; AttrChangeType aChangeType = AttrChangeType_MODIFICATION; - ::boost::shared_ptr<xmlChar const> const pOld( + std::shared_ptr<xmlChar const> const pOld( xmlGetNsProp(m_aNodePtr, xLName, pNs->href), xmlFree); if (pOld == 0) { aChangeType = AttrChangeType_ADDITION; |