summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-19 10:20:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-19 12:52:36 +0200
commit2864959cf71b16ac5c3cd0789ac243958a991917 (patch)
treec6d5a2c4a0e5642a1a3662f660a7fac951d68c00 /linguistic
parent69a0571d6b885cc4771554d22a63170651647f3b (diff)
Use standard idiom
Change-Id: Ida916e3019d72c9e9d1b5b117de2060f0227c310
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 d7382e3c0325..a8e6db0e1b23 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -841,7 +841,7 @@ throw (uno::RuntimeException)
{
try
{
- uno::Reference< uno::XInterface > xThis( dynamic_cast< XLinguServiceEventBroadcaster * >(this) );
+ uno::Reference< uno::XInterface > xThis( static_cast< OWeakObject * >(this) );
linguistic2::LinguServiceEvent aEvent( xThis, linguistic2::LinguServiceEventFlags::PROOFREAD_AGAIN );
m_aNotifyListeners.notifyEach(
&linguistic2::XLinguServiceEventListener::processLinguServiceEvent,