diff options
Diffstat (limited to 'include')
-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; |