summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-12 13:23:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-12 19:27:43 +0200
commita5041c9102e41f9ec73d991686036eeeff200187 (patch)
treeb98a16ef7a56badccf6a53a3deecbabeb7e20ef5 /svx
parentb129ce4426d460963ace6c9e69c4b44e2a3615c2 (diff)
fix some VirtualDevice leaks
Change-Id: I645543fa27ca8b75b36ed7798f0af7b81fd09f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115488 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/galbrws2.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index bbf13cff5c3f..90d7c4a562cf 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;