diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-11 12:59:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-12 07:31:12 +0100 |
commit | 0dd025a2180e7fb1bf27a71687769a61d608abf2 (patch) | |
tree | cc538f53320916029f87681667af33a0f3239983 /sfx2/source/inc | |
parent | d4fac095361f9d0c08091ba19c3fb167850be6b8 (diff) |
use unique_ptr for SfxChildWinFactory
Change-Id: I4305310ea296a5326838759742b14e687158d426
Reviewed-on: https://gerrit.libreoffice.org/64954
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/childwinimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/inc/childwinimpl.hxx b/sfx2/source/inc/childwinimpl.hxx index 9d361e212597..c9211edac063 100644 --- a/sfx2/source/inc/childwinimpl.hxx +++ b/sfx2/source/inc/childwinimpl.hxx @@ -51,7 +51,7 @@ public: size_t size() const; const SfxChildWinFactory& operator []( size_t i ) const; SfxChildWinFactory& operator []( size_t i ); - void push_back( SfxChildWinFactory* p ); + void push_back( std::unique_ptr<SfxChildWinFactory> p ); void erase( const iterator& it ); iterator begin(); |