summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-11 11:37:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-12 07:11:05 +0100
commitc8fe80fa0029798f847c8443aae54639ad193b08 (patch)
tree94ba113268f95dc5e2f3c6ceb18e71fa8ca27006 /include
parent70d509c9865664dffb49c2b6cafe5627d1fd26c7 (diff)
use unique_ptr in SfxEventConfiguration::ConvertToMacro
Change-Id: I7f96ce55b22212c38972a51c9273c9f9cd241acf Reviewed-on: https://gerrit.libreoffice.org/66183 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/evntconf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/evntconf.hxx b/include/sfx2/evntconf.hxx
index 2c863eb05222..5db89bc023b6 100644
--- a/include/sfx2/evntconf.hxx
+++ b/include/sfx2/evntconf.hxx
@@ -98,7 +98,7 @@ class SFX2_DLLPUBLIC SfxEventConfiguration
{
public:
static void ConfigureEvent( const OUString& aName, const SvxMacro&, SfxObjectShell const * pObjSh);
- static SvxMacro* ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc );
+ static std::unique_ptr<SvxMacro> ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc );
};
#endif