From 7a7f49a734aaaae0e5fe3a4f54914b01fb0d511f Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Sun, 22 May 2016 17:20:03 +0200 Subject: tdf#89329: use unique_ptr for pImpl in pszctrl Change-Id: I60d129df8eebfed3996d491379fa9d69aa3fe097 Reviewed-on: https://gerrit.libreoffice.org/25315 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/pszctrl.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx') diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx index 7467376f8cea..f8e8dca4d07e 100644 --- a/include/svx/pszctrl.hxx +++ b/include/svx/pszctrl.hxx @@ -32,7 +32,7 @@ struct SvxPosSizeStatusBarControl_Impl; class SVX_DLLPUBLIC SvxPosSizeStatusBarControl : public SfxStatusBarControl { private: - SvxPosSizeStatusBarControl_Impl* pImp; + std::unique_ptr pImpl; SVX_DLLPRIVATE OUString GetMetricStr_Impl( long nVal ); public: SFX_DECL_STATUSBAR_CONTROL(); -- cgit