diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-23 20:14:13 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-05-06 07:25:16 +0200 |
commit | ee3b2907eae61fb46fb6fe1511fafaa2a2b60bd3 (patch) | |
tree | d5bc83192b7fd130cf9329ba052e8221a1e3974e /linguistic | |
parent | 4cedea47f9f97ec04e25e36cea38a2fb536bb1bc (diff) |
Use getXWeak in linguistic
Change-Id: I1202763917dab414e8bc540bd89d736e74fa1450
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150858
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/gciterator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index edd028e31e28..1cd8883705c7 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -956,7 +956,7 @@ void SAL_CALL GrammarCheckingIterator::processLinguServiceEvent( try { - uno::Reference< uno::XInterface > xThis( static_cast< OWeakObject * >(this) ); + uno::Reference< uno::XInterface > xThis( getXWeak() ); linguistic2::LinguServiceEvent aEvent( xThis, linguistic2::LinguServiceEventFlags::PROOFREAD_AGAIN ); m_aNotifyListeners.notifyEach( &linguistic2::XLinguServiceEventListener::processLinguServiceEvent, |