diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 09:48:18 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-12-05 08:17:08 -0500 |
commit | 0f455f2309d018906e147269f839f52aa22eaf6a (patch) | |
tree | 3008bfd18f588e8d058adaa1c6c473be14b99a49 /cui | |
parent | 07ff6eaaba5a7ecd0e9e04507190df779ac5cfe4 (diff) |
new loplugin: useuniqueptr: vcl
Reviewed-on: https://gerrit.libreoffice.org/32948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit e8b49f09074fe184374bee5062715357427ae044)
Change-Id: Idcbc8655108ff57c06c33bbcabd652387bf3c4ec
(cherry picked from commit fb68934e81bebdf1580d0fad25fad8912eaf3450)
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optcolor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 1d962bddbd3b..0faed9b36374 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -481,7 +481,7 @@ void ColorConfigWindow_Impl::Entry::SetColor (Color aColor) ColorConfigWindow_Impl::ColorConfigWindow_Impl(vcl::Window* pParent) : VclContainer(pParent) { - m_pUIBuilder = new VclBuilder(this, getUIRootDir(), "cui/ui/colorconfigwin.ui"); + m_pUIBuilder.reset(new VclBuilder(this, getUIRootDir(), "cui/ui/colorconfigwin.ui")); get(m_pGrid, "ColorConfigWindow"); CreateEntries(); SetAppearance(); |