summaryrefslogtreecommitdiff
path: root/cppu/qa/test_reference.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/qa/test_reference.cxx')
-rw-r--r--cppu/qa/test_reference.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx
index e49c31620124..f9058260484f 100644
--- a/cppu/qa/test_reference.cxx
+++ b/cppu/qa/test_reference.cxx
@@ -48,7 +48,7 @@ public:
}
virtual Any SAL_CALL queryInterface(const Type & _type)
- throw (RuntimeException, std::exception)
+ throw (RuntimeException, std::exception) SAL_OVERRIDE
{
Any aInterface;
if (_type == getCppuType< Reference< XInterface > >())
@@ -65,12 +65,12 @@ public:
return Any();
}
- virtual void SAL_CALL acquire() throw ()
+ virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
{
osl_atomic_increment( &m_refCount );
}
- virtual void SAL_CALL release() throw ()
+ virtual void SAL_CALL release() throw () SAL_OVERRIDE
{
if ( 0 == osl_atomic_decrement( &m_refCount ) )
delete this;