summaryrefslogtreecommitdiff
path: root/vcl/inc/brdwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-13 09:58:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-16 08:23:05 +0200
commit96e5d09224d46641278d995dc5fd463fac3dfa75 (patch)
tree23a7b2e92e39a699d206303f6c241da98f77d271 /vcl/inc/brdwin.hxx
parent1e9101e7bd2d423416fcf1cb1c1b15a140aa12e6 (diff)
loplugin:useuniqueptr in ImplBorderWindow
Change-Id: Iabff2048cd3f990fe359b8a281a1eb3af2bb9c32 Reviewed-on: https://gerrit.libreoffice.org/52890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/brdwin.hxx')
-rw-r--r--vcl/inc/brdwin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx
index 36292b21e963..8e3846a07c74 100644
--- a/vcl/inc/brdwin.hxx
+++ b/vcl/inc/brdwin.hxx
@@ -82,7 +82,7 @@ class ImplBorderWindow : public vcl::Window
friend class ImplStdBorderWindowView;
private:
- ImplBorderWindowView* mpBorderView;
+ std::unique_ptr<ImplBorderWindowView> mpBorderView;
VclPtr<vcl::Window> mpMenuBarWindow;
VclPtr<NotebookBar> mpNotebookBar;
long mnMinWidth;