diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-11 11:30:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-11 11:51:35 +0100 |
commit | 4015034e08d14c5fbc0b2b2e8a7e1e56f651d2f0 (patch) | |
tree | 259568e6f948b2de097bc7d6d177b6a78f711710 /sfx2/source/inc | |
parent | f009b0bda3102bb557ad72ac7cc4b398b9134fe3 (diff) |
use unique_ptr for SfxChildWinContextFactory
Change-Id: Id0e30c5e591e7fb4b21fb55d47d15a5936fe1374
Reviewed-on: https://gerrit.libreoffice.org/64934
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 4b5c3ac1576a..9d361e212597 100644 --- a/sfx2/source/inc/childwinimpl.hxx +++ b/sfx2/source/inc/childwinimpl.hxx @@ -36,7 +36,7 @@ public: size_t size() const; const SfxChildWinContextFactory& operator []( size_t i ) const; SfxChildWinContextFactory& operator []( size_t i ); - void push_back( SfxChildWinContextFactory* p ); + void push_back( std::unique_ptr<SfxChildWinContextFactory> p ); }; class SfxChildWinFactArr_Impl |