diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-17 14:00:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-17 15:28:13 +0200 |
commit | 2b19544e6f28c85128dc38c026636c0b62cbc35a (patch) | |
tree | 6921be88172e7d7b1b05e750aa56c93d60b49646 /include | |
parent | 4e9ebc6de44b22418f26fb6d931bedcc5d936906 (diff) |
use std::unique_ptr in vcl::Animation and vcl::MenuItemList
Change-Id: I0d682bcf3bd9d5f4852675fd0d6b61f10ea4f7de
Reviewed-on: https://gerrit.libreoffice.org/43455
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/animate.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx index 06222cf35415..1b8844f2c959 100644 --- a/include/vcl/animate.hxx +++ b/include/vcl/animate.hxx @@ -169,8 +169,8 @@ public: private: SAL_DLLPRIVATE static sal_uLong mnAnimCount; - std::vector< AnimationBitmap* > maList; - std::vector< ImplAnimView* > maViewList; + std::vector< std::unique_ptr<AnimationBitmap> > maList; + std::vector< std::unique_ptr<ImplAnimView> > maViewList; Link<Animation*,void> maNotifyLink; BitmapEx maBitmapEx; |