boost::shared_ptr -> std::shared_ptr

Change-Id: I536b2c2fbbee9e9fd5dd10e016d73a771bd8083f
This commit is contained in:
Miklos Vajna 2015-02-28 15:20:57 +01:00
parent 69a80316f7
commit e5d775d1bf
4 changed files with 6 additions and 6 deletions

View file

@ -194,7 +194,7 @@ struct DocxSdrExport::Impl
};
DocxSdrExport::DocxSdrExport(DocxExport& rExport, sax_fastparser::FSHelperPtr pSerializer, oox::drawingml::DrawingML* pDrawingML)
: m_pImpl(new Impl(*this, rExport, pSerializer, pDrawingML))
: m_pImpl(std::make_shared<Impl>(*this, rExport, pSerializer, pDrawingML))
{
}

View file

@ -10,7 +10,7 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX
#define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX
#include <boost/shared_ptr.hpp>
#include <memory>
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <rtl/strbuf.hxx>
@ -52,7 +52,7 @@ public:
class DocxSdrExport
{
struct Impl;
boost::shared_ptr<Impl> m_pImpl;
std::shared_ptr<Impl> m_pImpl;
public:
DocxSdrExport(DocxExport& rExport, sax_fastparser::FSHelperPtr pSerializer, oox::drawingml::DrawingML* pDrawingML);
~DocxSdrExport();

View file

@ -682,7 +682,7 @@ void DocxTableStyleExport::SetSerializer(sax_fastparser::FSHelperPtr pSerializer
}
DocxTableStyleExport::DocxTableStyleExport(SwDoc* pDoc, sax_fastparser::FSHelperPtr pSerializer)
: m_pImpl(new Impl)
: m_pImpl(std::make_shared<Impl>())
{
m_pImpl->m_pDoc = pDoc;
m_pImpl->m_pSerializer = pSerializer;

View file

@ -10,7 +10,7 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_DOCXTABLESTYLEEXPORT_HXX
#define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXTABLESTYLEEXPORT_HXX
#include <boost/shared_ptr.hpp>
#include <memory>
#include <com/sun/star/beans/PropertyValue.hpp>
@ -22,7 +22,7 @@ class SwDoc;
class DocxTableStyleExport
{
struct Impl;
boost::shared_ptr<Impl> m_pImpl;
std::shared_ptr<Impl> m_pImpl;
public:
void TableStyles(sal_Int32 nCountStylesToWrite);