diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:51:56 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:52:57 +0200 |
commit | 135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch) | |
tree | 5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /bridges/test | |
parent | c48fe716225b1b784d657685396b6cf5fee4fc3d (diff) |
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'bridges/test')
-rw-r--r-- | bridges/test/testcomp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx index 0883936fb857..914ca82b3c84 100644 --- a/bridges/test/testcomp.cxx +++ b/bridges/test/testcomp.cxx @@ -92,7 +92,7 @@ void parseCommandLine( char *argv[] , Any OInstanceProvider::queryInterface( const Type & aType ) throw ( RuntimeException ) { Any a = ::cppu::queryInterface( aType , - SAL_STATIC_CAST( XInstanceProvider * , this ) ); + (static_cast< XInstanceProvider * >(this)) ); if( a.hasValue() ) { return a; @@ -292,7 +292,7 @@ Sequence< OUString > ServiceImpl::getSupportedServiceNames() Any OCallMe::queryInterface( const Type & aType ) throw ( RuntimeException ) { Any a = ::cppu::queryInterface( aType, - SAL_STATIC_CAST( XCallMe * , this ) ); + (static_cast< XCallMe * >(this)) ); if( a.hasValue() ) { @@ -386,7 +386,7 @@ void OCallMe::callAgain( const Reference< ::test::XCallMe >& callAgainArg, Any OInterfaceTest::queryInterface( const Type & aType ) throw ( RuntimeException ) { Any a = ::cppu::queryInterface( aType, - SAL_STATIC_CAST( XInterfaceTest * , this ) ); + (static_cast< XInterfaceTest * >(this)) ); if( a.hasValue() ) { return a; @@ -438,7 +438,7 @@ void OInterfaceTest::call() Any OTestFactory::queryInterface( const Type & aType ) throw ( RuntimeException ) { Any a = ::cppu::queryInterface( aType, - SAL_STATIC_CAST( XTestFactory * , this ) ); + (static_cast< XTestFactory * >(this)) ); if( a.hasValue() ) { |