diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-13 11:39:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-18 07:22:53 +0100 |
commit | ebad2d305cd727dd94caef21031f4f268b7c642c (patch) | |
tree | fad523c3b0d327cbb9771ed8df04dd7ed5c8a272 /include/xmloff/txtimppr.hxx | |
parent | b06b3bcc6900014989da8060d126a45f31c9b8b7 (diff) |
use unique_ptr in XMLTextImportPropertyMapper
Change-Id: I8cc60add5fd8e3e17804795915fc4f87523b0599
Reviewed-on: https://gerrit.libreoffice.org/65143
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/txtimppr.hxx')
-rw-r--r-- | include/xmloff/txtimppr.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/xmloff/txtimppr.hxx b/include/xmloff/txtimppr.hxx index bd1338fd1884..3786de22f478 100644 --- a/include/xmloff/txtimppr.hxx +++ b/include/xmloff/txtimppr.hxx @@ -21,6 +21,7 @@ #include <xmloff/dllapi.h> #include <xmloff/xmlimppr.hxx> +#include <memory> class XMLFontStylesContext; @@ -42,10 +43,10 @@ class XMLOFF_DLLPUBLIC XMLTextImportPropertyMapper : public SvXMLImportPropertyM XMLPropertyState const * pFontFamily, XMLPropertyState const * pFontPitch, XMLPropertyState const * pFontCharSet, - XMLPropertyState** ppNewFontStyleName, - XMLPropertyState** ppNewFontFamily, - XMLPropertyState** ppNewFontPitch, - XMLPropertyState** ppNewFontCharSet ) const; + std::unique_ptr<XMLPropertyState>* ppNewFontStyleName, + std::unique_ptr<XMLPropertyState>* ppNewFontFamily, + std::unique_ptr<XMLPropertyState>* ppNewFontPitch, + std::unique_ptr<XMLPropertyState>* ppNewFontCharSet ) const; protected: virtual bool handleSpecialItem( |