diff options
Diffstat (limited to 'package/source/xstor/owriteablestream.cxx')
-rw-r--r-- | package/source/xstor/owriteablestream.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 22e21d239cd2..e7a1d056e3f2 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -3276,16 +3276,16 @@ void OWriteStream::BroadcastTransaction( sal_Int8 nMessage ) switch( nMessage ) { case STOR_MESS_PRECOMMIT: - ( ( embed::XTransactionListener* )pIterator.next( ) )->preCommit( aSource ); + static_cast<embed::XTransactionListener*>( pIterator.next( ) )->preCommit( aSource ); break; case STOR_MESS_COMMITED: - ( ( embed::XTransactionListener* )pIterator.next( ) )->commited( aSource ); + static_cast<embed::XTransactionListener*>( pIterator.next( ) )->commited( aSource ); break; case STOR_MESS_PREREVERT: - ( ( embed::XTransactionListener* )pIterator.next( ) )->preRevert( aSource ); + static_cast<embed::XTransactionListener*>( pIterator.next( ) )->preRevert( aSource ); break; case STOR_MESS_REVERTED: - ( ( embed::XTransactionListener* )pIterator.next( ) )->reverted( aSource ); + static_cast< embed::XTransactionListener*>( pIterator.next( ) )->reverted( aSource ); break; } } |