diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 15:31:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-23 07:30:12 +0100 |
commit | c9611c5e6465948de029e9c2fbd17e75ee07d31f (patch) | |
tree | 250e63de113ac6a8c8105cabad060068d5246d13 /include/linguistic/lngprophelp.hxx | |
parent | d3d8618608ec0f329a40e029de951374871a8de0 (diff) |
loplugin:unusedfields in l10ntools..sax
Change-Id: I6e4ff4853c3995072b020af54549dc81303a4fde
Reviewed-on: https://gerrit.libreoffice.org/68225
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/linguistic/lngprophelp.hxx')
-rw-r--r-- | include/linguistic/lngprophelp.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
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 <com/sun/star/linguistic2/XLinguProperties.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> #include <linguistic/lngdllapi.h> +#include <rtl/ref.hxx> 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; |