summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 14:16:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 06:41:54 +0000
commit90df5ee10727719aa1407ed4d1f06d7a790d6871 (patch)
treecac021b05b025d0e89c6beed20af4578cf34f437 /oox/inc
parentd33d2a65a4ee54780ac005334bee176ddeec68fc (diff)
new loplugin: useuniqueptr: jvmfwk..sax
Change-Id: I732e2e22c6f953f0982fbc8833453e7c23cf9d49 Reviewed-on: https://gerrit.libreoffice.org/33166 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/chart/datasourcecontext.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/inc/drawingml/chart/datasourcecontext.hxx b/oox/inc/drawingml/chart/datasourcecontext.hxx
index 5f4b7f7d6877..2704ccf33012 100644
--- a/oox/inc/drawingml/chart/datasourcecontext.hxx
+++ b/oox/inc/drawingml/chart/datasourcecontext.hxx
@@ -45,11 +45,12 @@ public:
virtual void onCharacters( const OUString& rChars ) override;
private:
- SvNumberFormatter* getNumberFormatter();
+ SvNumberFormatter* getNumberFormatter();
private:
sal_Int32 mnPtIndex; /// Current data point index.
- SvNumberFormatter* mpNumberFormatter;
+ std::unique_ptr<SvNumberFormatter>
+ mpNumberFormatter;
};