summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-11 15:20:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-14 10:57:24 +0100
commit6a70f2a42944918379f3bbefe080a6189bafd6a8 (patch)
treefa0cc08f9823f73786d31a238f40423f454f85c0 /include
parent4da70cfe433c7c2b52709d5f689b274e1bccaaeb (diff)
use unique_ptr in XMLPropertyHandlerFactory::CreatePropertyHandler
Change-Id: Idb33e3a23b7e6001b2c549875a16b475d3ecd470 Reviewed-on: https://gerrit.libreoffice.org/66186 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/prhdlfac.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/prhdlfac.hxx b/include/xmloff/prhdlfac.hxx
index 0b517208aeee..2ad3f3d7a920 100644
--- a/include/xmloff/prhdlfac.hxx
+++ b/include/xmloff/prhdlfac.hxx
@@ -87,7 +87,7 @@ public:
* use the handler cache. This method should only be called in special
* circumstances; calling GetPropertyHandler is almost always
* preferable. */
- static const XMLPropertyHandler* CreatePropertyHandler( sal_Int32 nType );
+ static std::unique_ptr<XMLPropertyHandler> CreatePropertyHandler( sal_Int32 nType );
protected:
/** Retrieves a PropertyHandler from the internal cache */