summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/gciterator.cxx2
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,