From c9611c5e6465948de029e9c2fbd17e75ee07d31f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 22 Feb 2019 15:31:15 +0200 Subject: loplugin:unusedfields in l10ntools..sax Change-Id: I6e4ff4853c3995072b020af54549dc81303a4fde Reviewed-on: https://gerrit.libreoffice.org/68225 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/linguistic/lngprophelp.hxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index f8613deb454e..f86d810e159c 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -27,6 +27,7 @@ #include #include #include +#include namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; @@ -148,8 +149,7 @@ public: class LNG_DLLPUBLIC PropertyHelper_Thesaurus { - PropertyHelper_Thes* pInst; - css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; + rtl::Reference< PropertyHelper_Thes > mxPropHelper; // disallow use of copy-constructor and assignment-operator PropertyHelper_Thesaurus( const PropertyHelper_Thes & ) = delete; @@ -209,8 +209,7 @@ public: class LNG_DLLPUBLIC PropertyHelper_Spelling { - PropertyHelper_Spell* pInst; - css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; + rtl::Reference< PropertyHelper_Spell > mxPropHelper; // disallow use of copy-constructor and assignment-operator PropertyHelper_Spelling( const PropertyHelper_Spell & ) = delete; @@ -279,8 +278,7 @@ public: class LNG_DLLPUBLIC PropertyHelper_Hyphenation { - PropertyHelper_Hyphen* pInst; - css::uno::Reference< css::beans::XPropertyChangeListener > xPropHelper; + rtl::Reference< PropertyHelper_Hyphen > mxPropHelper; // disallow use of copy-constructor and assignment-operator PropertyHelper_Hyphenation( const PropertyHelper_Hyphen & ) = delete; -- cgit