summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-12 13:23:22 +0200
committerAndras Timar <andras.timar@collabora.com>2021-05-16 23:47:23 +0200
commitb87b4d5af52b574ad840d19172643fd336e2b3e3 (patch)
treea8f0fa91a5072abc2bb1cbd9db36ed27e5150557 /svx
parent690e841b4b1d0d6394f42670bc6293984ba689bc (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;