diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 09:47:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 09:26:26 +0000 |
commit | 352e036ada79bee79b0b52352cab4b05695b1abf (patch) | |
tree | cc6f80c827672e636a4db0e66d68f1edffabb4f7 /include/svtools/transfer.hxx | |
parent | d0cbdac23ba545091eb9fac8b114cfc20df74ebf (diff) |
new loplugin: useuniqueptr: svl..svtools
Change-Id: Ia4d5b37ee3cf67318e3cc01525e4b733af60d038
Reviewed-on: https://gerrit.libreoffice.org/33251
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/transfer.hxx')
-rw-r--r-- | include/svtools/transfer.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx index 5f402457bd19..f5e4c53a6027 100644 --- a/include/svtools/transfer.hxx +++ b/include/svtools/transfer.hxx @@ -419,10 +419,8 @@ private: { private: - DropTargetHelper& mrParent; - AcceptDropEvent* mpLastDragOverEvent; - - private: + DropTargetHelper& mrParent; + std::unique_ptr<AcceptDropEvent> mpLastDragOverEvent; // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; |