diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-26 01:37:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:45:12 +0000 |
commit | 61a70fb5094ca6edfef9500f358c517e6674cb0c (patch) | |
tree | 29b9ad43c9e93c1a95f4535576670a47c686a465 /svtools | |
parent | 9a2bbaad2667c025744792948961606fbcc5029c (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.cxx | 2 |
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(); } |