diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-21 20:02:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-22 17:30:15 +0100 |
commit | dc37866f3266f92c71bb4b3cec2b869069230c28 (patch) | |
tree | 6adeb7ddb91f738f52d4b19ff41bf9a26897acaf /include | |
parent | b8a38885093fc447792e6025b339f51e0874a66b (diff) |
loplugin:refcounting in editeng
Change-Id: I7d00bede5dbf216e5d3d179a03b101322ae23e11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111287
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/unolingu.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/unolingu.hxx b/include/editeng/unolingu.hxx index 3032b7b7dc74..3158af872e77 100644 --- a/include/editeng/unolingu.hxx +++ b/include/editeng/unolingu.hxx @@ -21,6 +21,7 @@ #define INCLUDED_EDITENG_UNOLINGU_HXX #include <rtl/ustring.hxx> +#include <rtl/ref.hxx> #include <com/sun/star/uno/Reference.hxx> #include <editeng/editengdllapi.h> @@ -52,7 +53,7 @@ class EDITENG_DLLPUBLIC LinguMgr static css::uno::Reference< css::linguistic2::XDictionary > xIgnoreAll; static css::uno::Reference< css::linguistic2::XDictionary > xChangeAll; - static LinguMgrExitLstnr *pExitLstnr; + static rtl::Reference<LinguMgrExitLstnr> pExitLstnr; static bool bExiting; static css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpell(); |