diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-12 13:23:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-12 15:44:12 +0200 |
commit | dad39d0022ed267ede3e8e589854f7eb73e602f3 (patch) | |
tree | 2598a34ff97b9c1f05d5309202afa0e52e6d39f5 /svx/inc/galbrws2.hxx | |
parent | 6a6225cea84b43ac0231333afbde89b399984322 (diff) |
fix some VirtualDevice leaks
Change-Id: I645543fa27ca8b75b36ed7798f0af7b81fd09f49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115477
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc/galbrws2.hxx')
-rw-r--r-- | svx/inc/galbrws2.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index 088013946d22..a81e2b3fc234 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -85,7 +85,7 @@ private: std::unique_ptr<weld::ToggleButton> mxIconButton; std::unique_ptr<weld::ToggleButton> mxListButton; std::unique_ptr<weld::Label> mxInfoBar; - VclPtr<VirtualDevice> mxDev; + ScopedVclPtr<VirtualDevice> mxDev; Size maPreviewSize; rtl::Reference<GalleryTransferable> m_xHelper; sal_uInt32 mnCurActionPos; |