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 /include/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 'include/svtools')
-rw-r--r-- | include/svtools/hyperlabel.hxx | 4 |
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; |