diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-30 18:46:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 08:26:13 +0200 |
commit | cee2ccb38f0b6d223d9c60da6538f06a84ad6192 (patch) | |
tree | 29711b815487a8fa772de1c9a2d2bdedfe3b50e0 /vcl/inc/unx/salgdi.h | |
parent | ecf6e884d50c9d6220a95ef1a785e9643fb1f01e (diff) |
loplugin:useuniqueptr in X11SalBitmap
Change-Id: I3fedb4b25683bafbdb7c761387d47a8b30ef8083
Reviewed-on: https://gerrit.libreoffice.org/53706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/unx/salgdi.h')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index dded647ab97d..8cfc5abb2add 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -318,7 +318,7 @@ protected: SalVirtualDevice* m_pVDev; // the SalVirtualDevice which created this Graphics or NULL const SalColormap* m_pColormap; - SalColormap* m_pDeleteColormap; + std::unique_ptr<SalColormap> m_pDeleteColormap; Drawable hDrawable_; // use SalX11Screen m_nXScreen; mutable XRenderPictFormat* m_pXRenderFormat; |