diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-16 12:54:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 08:15:36 +0200 |
commit | 16632fa9f5dfbe8bd6f34f719ac923e972f250ca (patch) | |
tree | 5ede433b503eb2aab4fa1126e61f0c5fcfcd8b93 /include | |
parent | 7c256096962d73b360b870688ead7152b3378df9 (diff) |
loplugin:useuniqueptr in SplitWindow
Change-Id: I04b45f02ce0dc98d11fb78982b8364fdd8333f9c
Reviewed-on: https://gerrit.libreoffice.org/53233
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/splitwin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index d56000da2042..4e5b4511b213 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -47,7 +47,7 @@ namespace o3tl class VCL_DLLPUBLIC SplitWindow : public DockingWindow { private: - ImplSplitSet* mpMainSet; + std::unique_ptr<ImplSplitSet> mpMainSet; ImplSplitSet* mpBaseSet; ImplSplitSet* mpSplitSet; long* mpLastSizes; |