summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-13 11:39:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-18 07:22:53 +0100
commitebad2d305cd727dd94caef21031f4f268b7c642c (patch)
treefad523c3b0d327cbb9771ed8df04dd7ed5c8a272 /include/xmloff
parentuse unique_ptr in XMLPropertyBackpatcher (diff)
downloadcore-ebad2d305cd727dd94caef21031f4f268b7c642c.tar.gz
core-ebad2d305cd727dd94caef21031f4f268b7c642c.zip
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')
-rw-r--r--include/xmloff/txtimppr.hxx9
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(