diff options
Diffstat (limited to 'odk/examples/cpp/counter/counter.cxx')
-rw-r--r-- | odk/examples/cpp/counter/counter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx index 667c04a7057e..811ef7f7df3e 100644 --- a/odk/examples/cpp/counter/counter.cxx +++ b/odk/examples/cpp/counter/counter.cxx @@ -82,9 +82,9 @@ public: { std::cout << "< MyCounterImpl dtor called >" << std::endl; } // XInterface implementation - virtual void SAL_CALL acquire() throw () + virtual void SAL_CALL acquire() SAL_NOEXCEPT { ++m_nRefCount; } - virtual void SAL_CALL release() throw () + virtual void SAL_CALL release() SAL_NOEXCEPT { if (! --m_nRefCount) delete this; } virtual Any SAL_CALL queryInterface( const Type & rType ) { return cppu::queryInterface(rType, |