summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-26 01:37:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:45:12 +0000
commit61a70fb5094ca6edfef9500f358c517e6674cb0c (patch)
tree29b9ad43c9e93c1a95f4535576670a47c686a465 /svtools
parent9a2bbaad2667c025744792948961606fbcc5029c (diff)
tdf#89329: use unique_ptr for pImpl in hyperlabel
Change-Id: I697eb48591c53ba27c99fc86baa4b8b33e7c9fd1 Reviewed-on: https://gerrit.libreoffice.org/25474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/hyperlabel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/hyperlabel.cxx b/svtools/source/control/hyperlabel.cxx
index 4530f99a53d2..9fb08798d6bc 100644
--- a/svtools/source/control/hyperlabel.cxx
+++ b/svtools/source/control/hyperlabel.cxx
@@ -159,7 +159,7 @@ namespace svt
void HyperLabel::dispose()
{
- delete m_pImpl;
+ m_pImpl.reset();
FixedText::dispose();
}