summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-02-24 10:05:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-24 11:59:01 +0100
commitbcb15a129d8befa5df5767b09e93b5003332ae71 (patch)
treee3714461ed12437a64d76b876ee733d2a777b9a0 /include/vcl
parentcd6d3a3d434e39c250418ed5547ff3af1b0f7482 (diff)
use unique_ptr in SplitWindow
Change-Id: Ic17c5a8923190d3be99105cbf47de6b83009145e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111443 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/splitwin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index c88f015a9471..c41376109b87 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -48,7 +48,7 @@ private:
std::unique_ptr<ImplSplitSet> mpMainSet;
ImplSplitSet* mpBaseSet;
ImplSplitSet* mpSplitSet;
- tools::Long* mpLastSizes;
+ std::unique_ptr<tools::Long[]> mpLastSizes;
tools::Rectangle maDragRect;
tools::Long mnDX;
tools::Long mnDY;