From e1f479af4ddde90f9e80b5079ac759cb9f7743a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Feb 2018 10:38:17 +0200 Subject: loplugin:useuniqueptr in SdrTextObj Change-Id: I48f52056dcf17a568266be49f7422fa05be974db Reviewed-on: https://gerrit.libreoffice.org/49274 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/svdotext.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index ad18a2512e0b..4f862638ce8b 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -28,11 +28,12 @@ #include #include #include -#include #include #include #include #include +#include +#include // forward declarations @@ -185,7 +186,7 @@ protected: GeoStat aGeo; // this is the active text - SdrText* mpText; + std::unique_ptr mpText; // This contains the dimensions of the text Size aTextSize; -- cgit