From 111de438ea3e512a541281dc0716cc728ea8d152 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 23 May 2016 13:53:42 +0200 Subject: remove some manual ref-counting triggered when I noticed a class doing acquire() in the constructor and then release() in the destructor. found mostly by git grep -n -B5 -e '->release()' Change-Id: Ie1abeaed75c1f861df185e3bde680272dbadc97f Reviewed-on: https://gerrit.libreoffice.org/25363 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/inc/unoiface.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source/inc') diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx index bbe2f6a17243..485df3f70cf7 100644 --- a/svtools/source/inc/unoiface.hxx +++ b/svtools/source/inc/unoiface.hxx @@ -170,7 +170,7 @@ public: class SVTXFormattedField : public VCLXSpinField { protected: - SvNumberFormatsSupplierObj* m_pCurrentSupplier; + css::uno::Reference m_xCurrentSupplier; bool bIsStandardSupplier; sal_Int32 nKeyToSetDelayed; -- cgit