diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-11 11:37:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-12 07:11:05 +0100 |
commit | c8fe80fa0029798f847c8443aae54639ad193b08 (patch) | |
tree | 94ba113268f95dc5e2f3c6ceb18e71fa8ca27006 /sfx2/source/inc | |
parent | 70d509c9865664dffb49c2b6cafe5627d1fd26c7 (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 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/eventsupplier.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/inc/eventsupplier.hxx b/sfx2/source/inc/eventsupplier.hxx index 9c3ff357b7f2..be6421416939 100644 --- a/sfx2/source/inc/eventsupplier.hxx +++ b/sfx2/source/inc/eventsupplier.hxx @@ -79,7 +79,7 @@ public: virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; // convert and normalize - static SvxMacro* ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc ); + static std::unique_ptr<SvxMacro> ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc ); static void NormalizeMacro( const css::uno::Any& rIn, css::uno::Any& rOut, SfxObjectShell* pDoc ); static void NormalizeMacro( const ::comphelper::NamedValueCollection& i_eventDescriptor, |