diff options
Diffstat (limited to 'ucb/source/sorter/sortresult.cxx')
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index b32844368c38..94e6570cb864 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -1200,10 +1200,7 @@ void SortedResultSet::PropertyChanged( const PropertyChangeEvent& rEvt ) OInterfaceIteratorHelper aIter( *pPropsContainer ); while ( aIter.hasMoreElements() ) { - Reference< XPropertyChangeListener > xListener( - aIter.next(), UNO_QUERY ); - if ( xListener.is() ) - xListener->propertyChange( rEvt ); + static_cast< XPropertyChangeListener* >( aIter.next() )->propertyChange( rEvt ); } } @@ -1214,10 +1211,7 @@ void SortedResultSet::PropertyChanged( const PropertyChangeEvent& rEvt ) OInterfaceIteratorHelper aIter( *pPropsContainer ); while ( aIter.hasMoreElements() ) { - Reference< XPropertyChangeListener > xListener( - aIter.next(), UNO_QUERY ); - if ( xListener.is() ) - xListener->propertyChange( rEvt ); + static_cast< XPropertyChangeListener* >( aIter.next() )->propertyChange( rEvt ); } } } |