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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user