summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/svtools/hyperlabel.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/svtools/hyperlabel.hxx b/include/svtools/hyperlabel.hxx
index b70e706f73a8..6e027c792c3e 100644
--- a/include/svtools/hyperlabel.hxx
+++ b/include/svtools/hyperlabel.hxx
@@ -29,14 +29,12 @@
namespace svt
{
-
-
class HyperLabelImpl;
class HyperLabel : public FixedText
{
protected:
- HyperLabelImpl* m_pImpl;
+ std::unique_ptr<HyperLabelImpl> m_pImpl;
Link<HyperLabel*,void> maClickHdl;
virtual void MouseMove( const MouseEvent& rMEvt ) override;