diff options
Diffstat (limited to 'include/osl/thread.hxx')
-rw-r--r-- | include/osl/thread.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx index 398eca170f2f..e5331efc5291 100644 --- a/include/osl/thread.hxx +++ b/include/osl/thread.hxx @@ -53,13 +53,13 @@ class Thread Thread& operator= ( const Thread& ); public: // these are here to force memory de/allocation to sal lib. - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW (()) + inline static void * SAL_CALL operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW (()) + inline static void SAL_CALL operator delete( void * pMem ) { ::rtl_freeMemory( pMem ); } - inline static void * SAL_CALL operator new( size_t, void * pMem ) SAL_THROW (()) + inline static void * SAL_CALL operator new( size_t, void * pMem ) { return pMem; } - inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW (()) + inline static void SAL_CALL operator delete( void *, void * ) {} Thread(): m_hThread(0){} |