summaryrefslogtreecommitdiff
path: root/linguistic/source/lngopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/lngopt.cxx')
-rw-r--r--linguistic/source/lngopt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index ac9f0678ffaf..304675fd413c 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -199,9 +199,7 @@ void LinguProps::launchEvent( const PropertyChangeEvent &rEvt ) const
cppu::OInterfaceIteratorHelper aIt( *pContainer );
while (aIt.hasMoreElements())
{
- Reference< XPropertyChangeListener > xRef( aIt.next(), UNO_QUERY );
- if (xRef.is())
- xRef->propertyChange( rEvt );
+ static_cast< XPropertyChangeListener* >( aIt.next() )->propertyChange( rEvt );
}
}
}