diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 10:48:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-01 06:45:13 +0100 |
commit | 478f3f019f780ae6f2464ea7ccd7a52a0ea9361c (patch) | |
tree | e81f14953311213ec3ada5e2c566b436cd918528 /vcl/inc/salframe.hxx | |
parent | 9375e542f23fa35e02185996b8113dcc9ab29bcf (diff) |
loplugin:useuniqueptr in SalFrame::PostEvent
Change-Id: Ib066b1d6df90f330f2f93ec639bd7bc59a08c024
Reviewed-on: https://gerrit.libreoffice.org/62507
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salframe.hxx')
-rw-r--r-- | vcl/inc/salframe.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx index f1d4a05e5662..e2662d415fc2 100644 --- a/vcl/inc/salframe.hxx +++ b/vcl/inc/salframe.hxx @@ -128,7 +128,7 @@ public: // Event must be destroyed, when Frame is destroyed // When Event is called, SalInstance::Yield() must be returned - virtual bool PostEvent(ImplSVEvent* pData) = 0; + virtual bool PostEvent(std::unique_ptr<ImplSVEvent> pData) = 0; virtual void SetTitle( const OUString& rTitle ) = 0; virtual void SetIcon( sal_uInt16 nIcon ) = 0; |