summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxtablestyleexport.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-01 09:06:56 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-01 09:14:12 +0200
commitc8923c61bb6e6cf603991c87a9981cb62fa4e660 (patch)
treeb5967a85c380bfe0f7d286beab73f8676f999e15 /sw/source/filter/ww8/docxtablestyleexport.cxx
parentda7758dad3c6ca0747bd51cc41ad19fcc958205d (diff)
Use o3tl::make_unique<>
Change-Id: I9be8542d5ea99694af54121d3fe659bb4ed8ebb6
Diffstat (limited to 'sw/source/filter/ww8/docxtablestyleexport.cxx')
-rw-r--r--sw/source/filter/ww8/docxtablestyleexport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx
index 6a1a947fb292..60510dab978f 100644
--- a/sw/source/filter/ww8/docxtablestyleexport.cxx
+++ b/sw/source/filter/ww8/docxtablestyleexport.cxx
@@ -13,6 +13,7 @@
#include <docsh.hxx>
#include <oox/token/tokens.hxx>
#include <comphelper/sequenceashashmap.hxx>
+#include <o3tl/make_unique.hxx>
using namespace com::sun::star;
using namespace oox;
@@ -682,7 +683,7 @@ void DocxTableStyleExport::SetSerializer(sax_fastparser::FSHelperPtr pSerializer
}
DocxTableStyleExport::DocxTableStyleExport(SwDoc* pDoc, sax_fastparser::FSHelperPtr pSerializer)
- : m_pImpl(std::make_shared<Impl>())
+ : m_pImpl(o3tl::make_unique<Impl>())
{
m_pImpl->m_pDoc = pDoc;
m_pImpl->m_pSerializer = pSerializer;