diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-21 16:37:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-21 18:31:42 +0000 |
commit | 821b72886f1e407a492f881a2efb27ead2c22b5c (patch) | |
tree | f0e99327a86f3bf04477fa2adbb689dbf7e3a15b /sw/source/filter/ww8/docxsdrexport.hxx | |
parent | 6e8bd2f3f19073ae7543a75be3898a46fc87beb7 (diff) |
o3tl: add make_unique template till we can't use std::make_unique
Change-Id: I48b26f0199e339badf7a0e2bed322ca701689d13
Reviewed-on: https://gerrit.libreoffice.org/15846
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/filter/ww8/docxsdrexport.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx index dd98d716afb1..0a32f20fb555 100644 --- a/sw/source/filter/ww8/docxsdrexport.hxx +++ b/sw/source/filter/ww8/docxsdrexport.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXSDREXPORT_HXX #include <memory> +#include <o3tl/make_unique.hxx> #include <com/sun/star/xml/dom/XDocument.hpp> #include <rtl/strbuf.hxx> @@ -52,7 +53,7 @@ public: class DocxSdrExport { struct Impl; - std::shared_ptr<Impl> m_pImpl; + std::unique_ptr<Impl> m_pImpl; public: DocxSdrExport(DocxExport& rExport, sax_fastparser::FSHelperPtr pSerializer, oox::drawingml::DrawingML* pDrawingML); ~DocxSdrExport(); |