diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-26 16:00:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-26 17:41:07 +0000 |
commit | 0439af27e1f37b19d4409f34f974d6ade49f99bf (patch) | |
tree | 13bbb2549319d74a1a109bf2727aab37dca5b8c7 /odk | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'odk')
3 files changed, 8 insertions, 8 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx index 5b973342bdf7..8080e5638515 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx @@ -244,14 +244,14 @@ Sequence< OUString > MyService1Impl::getSupportedServiceNames() Reference< XInterface > SAL_CALL create_MyService1Impl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< lang::XTypeProvider * >( new MyService1Impl( xContext) ); } // forward decl: implemented in service2_impl.cxx Reference< XInterface > SAL_CALL create_MyService2Impl( - Reference< XComponentContext > const & ) SAL_THROW( () ); + Reference< XComponentContext > const & ) SAL_THROW(()); } diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx index ff3942d26f67..6d498dbe95df 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx @@ -55,7 +55,7 @@ extern Sequence< OUString > SAL_CALL getSupportedServiceNames_MyService1Impl(); extern OUString SAL_CALL getImplementationName_MyService1Impl(); extern Reference< XInterface > SAL_CALL create_MyService1Impl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ); + SAL_THROW(()); static Sequence< OUString > getSupportedServiceNames_MyService2Impl() { @@ -170,7 +170,7 @@ Sequence< OUString > MyService2Impl::getSupportedServiceNames() Reference< XInterface > SAL_CALL create_MyService2Impl( Reference< XComponentContext > const & xContext ) - SAL_THROW( () ) + SAL_THROW(()) { return static_cast< ::cppu::OWeakObject * >( new MyService2Impl( xContext ) ); } diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx index 912f07bb64d7..ed2f76303453 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx @@ -79,13 +79,13 @@ namespace connectivity ,nSearchType( ::com::sun::star::sdbc::ColumnSearch::FULL) {} - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t nSize,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void * pMem,void* _pHint ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem,void* _pHint ) SAL_THROW(()) { } sal_Bool operator == (const OTypeInfo& lh) const { return lh.nType == nType; } |