diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 15:32:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-24 15:43:50 +0200 |
commit | b9c46a57c16116ea4beef59abf0fd11b7d6d97a3 (patch) | |
tree | a04a03b2e30d7d382dce23e36ced6765dfbd2176 /vcl/inc/unx/wmadaptor.hxx | |
parent | c5ad92524fa09005435179e2526ddbe796f3eafe (diff) |
loplugin:useuniqueptr in SalDisplay
Change-Id: I33cab261f107ed29e36d0093a87ffc3a2de21a54
Reviewed-on: https://gerrit.libreoffice.org/53361
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/unx/wmadaptor.hxx')
-rw-r--r-- | vcl/inc/unx/wmadaptor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx index 6f7f4caaa85c..ff76cf638987 100644 --- a/vcl/inc/unx/wmadaptor.hxx +++ b/vcl/inc/unx/wmadaptor.hxx @@ -160,7 +160,7 @@ public: /* * creates a valid WMAdaptor instance for the SalDisplay */ - static WMAdaptor* createWMAdaptor( SalDisplay* ); + static std::unique_ptr<WMAdaptor> createWMAdaptor( SalDisplay* ); /* * may return an empty string if the window manager could |