summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-24 13:40:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-29 17:03:59 +0200
commitbe2188598ef038f3e110f0a528ae682c93f2a6fd (patch)
tree344e64368ed4383ee515e7fe52dc041ef1a65b7f /include/svtools
parent979293ca138ccfb22ff1282b9055ae18b775fed8 (diff)
loplugin:useuniqueptr in Ruler
Change-Id: Iad5ca0c3744b7598af827e66855f4be108757bd9 Reviewed-on: https://gerrit.libreoffice.org/53594 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/ruler.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index 2da312a6b244..bcf4bc27acb3 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -626,9 +626,9 @@ private:
long mnStartDragPos;
long mnDragPos;
ImplSVEvent * mnUpdateEvtId;
- ImplRulerData* mpSaveData;
+ std::unique_ptr<ImplRulerData> mpSaveData;
ImplRulerData* mpData;
- ImplRulerData* mpDragData;
+ std::unique_ptr<ImplRulerData> mpDragData;
tools::Rectangle maExtraRect;
WinBits mnWinStyle;
sal_uInt16 mnUnitIndex;