diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 10:15:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 10:15:31 +0200 |
commit | f52f074a4d21be494a05ff9391b0206840f49c8c (patch) | |
tree | 4f45bbed6051ab162d9eec8399c00c3bb6722304 /vcl | |
parent | eeefb8c440b514cefdc4e82cc06843da9eabeb13 (diff) |
fix kde4 build
after
commit dbb1dbe7a741415acf1132a29aba7cff5dfe638c
Date: Mon Apr 23 15:23:08 2018 +0200
loplugin:useuniqueptr in X11SalData
Change-Id: I6398fd79b9190654258d60628952aa89dcd5898c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde4/KDEData.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDEData.cxx b/vcl/unx/kde4/KDEData.cxx index d9e9545621a1..1f3d0bfcbb3c 100644 --- a/vcl/unx/kde4/KDEData.cxx +++ b/vcl/unx/kde4/KDEData.cxx @@ -33,7 +33,7 @@ KDEData::~KDEData() void KDEData::Init() { - pXLib_ = new KDEXLib(); + pXLib_.reset(new KDEXLib()); pXLib_->Init(); SetDisplay( SalKDEDisplay::self() ); } |