summaryrefslogtreecommitdiff
path: root/embeddedobj/source/general
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 12:59:38 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 13:08:43 +0200
commite27ac011c3f1e5ccc178cc5cd8e6d46d73be2e76 (patch)
tree2a55a25905e2b1befbf682e79d859c59cffd2c9d /embeddedobj/source/general
parentc190577f754158c9e3b003a838bc97762e4773e8 (diff)
loplugin: cstylecast
Change-Id: I9fca98995131358b3b112b11e0b28feb1a3267d1
Diffstat (limited to 'embeddedobj/source/general')
-rw-r--r--embeddedobj/source/general/dummyobject.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/general/dummyobject.cxx b/embeddedobj/source/general/dummyobject.cxx
index 603b8f3c8b21..236f12e16b41 100644
--- a/embeddedobj/source/general/dummyobject.cxx
+++ b/embeddedobj/source/general/dummyobject.cxx
@@ -76,7 +76,7 @@ void ODummyEmbeddedObject::PostEvent_Impl( const OUString& aEventName )
{
try
{
- ((document::XEventListener *)aIt.next())->notifyEvent( aEvent );
+ static_cast<document::XEventListener *>(aIt.next())->notifyEvent( aEvent );
}
catch( const uno::RuntimeException& )
{
@@ -634,7 +634,7 @@ void SAL_CALL ODummyEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
- ((util::XCloseListener*)pIterator.next())->queryClosing( aSource, bDeliverOwnership );
+ static_cast<util::XCloseListener*>(pIterator.next())->queryClosing( aSource, bDeliverOwnership );
}
catch( const uno::RuntimeException& )
{
@@ -652,7 +652,7 @@ void SAL_CALL ODummyEmbeddedObject::close( sal_Bool bDeliverOwnership )
{
try
{
- ((util::XCloseListener*)pCloseIterator.next())->notifyClosing( aSource );
+ static_cast<util::XCloseListener*>(pCloseIterator.next())->notifyClosing( aSource );
}
catch( const uno::RuntimeException& )
{