Kaydet (Commit) 82708089 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Mark template member fns that are supposed to override as SAL_OVERRIDE

Change-Id: If940dcf7f7d2144576b4ae55578b8b7bd113295b
üst 7480948d
...@@ -92,13 +92,13 @@ public: ...@@ -92,13 +92,13 @@ public:
// XElementAccess // XElementAccess
virtual typename Collection<T>::Type_t SAL_CALL getElementType() virtual typename Collection<T>::Type_t SAL_CALL getElementType()
throw( typename Collection<T>::RuntimeException_t ) throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
{ {
return Collection<T>::getElementType(); return Collection<T>::getElementType();
} }
virtual sal_Bool SAL_CALL hasElements() virtual sal_Bool SAL_CALL hasElements()
throw( typename Collection<T>::RuntimeException_t ) throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
{ {
return Collection<T>::hasElements(); return Collection<T>::hasElements();
} }
...@@ -108,7 +108,7 @@ public: ...@@ -108,7 +108,7 @@ public:
const OUString& aName ) const OUString& aName )
throw( typename Collection<T>::NoSuchElementException_t, throw( typename Collection<T>::NoSuchElementException_t,
typename Collection<T>::WrappedTargetException_t, typename Collection<T>::WrappedTargetException_t,
typename Collection<T>::RuntimeException_t ) typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
{ {
if( hasItem( aName ) ) if( hasItem( aName ) )
return com::sun::star::uno::makeAny( getItem( aName ) ); return com::sun::star::uno::makeAny( getItem( aName ) );
...@@ -118,14 +118,14 @@ public: ...@@ -118,14 +118,14 @@ public:
} }
virtual Names_t SAL_CALL getElementNames() virtual Names_t SAL_CALL getElementNames()
throw( typename Collection<T>::RuntimeException_t ) throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
{ {
return getNames(); return getNames();
} }
virtual sal_Bool SAL_CALL hasByName( virtual sal_Bool SAL_CALL hasByName(
const OUString& aName ) const OUString& aName )
throw( typename Collection<T>::RuntimeException_t ) throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
{ {
return hasItem( aName ) ? sal_True : sal_False; return hasItem( aName ) ? sal_True : sal_False;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment