[Libreoffice-commits] core.git: forms/source

Stephan Bergmann sbergman at redhat.com
Mon Sep 15 05:59:43 PDT 2014


 forms/source/xforms/namedcollection.hxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 8270808946bf8d4452a73a6b8226c85142043956
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 15 14:58:57 2014 +0200

    Mark template member fns that are supposed to override as SAL_OVERRIDE
    
    Change-Id: If940dcf7f7d2144576b4ae55578b8b7bd113295b

diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx
index c32c888..d85add0 100644
--- a/forms/source/xforms/namedcollection.hxx
+++ b/forms/source/xforms/namedcollection.hxx
@@ -92,13 +92,13 @@ public:
 
     // XElementAccess
     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();
     }
 
     virtual sal_Bool SAL_CALL hasElements()
-        throw( typename Collection<T>::RuntimeException_t )
+        throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
     {
         return Collection<T>::hasElements();
     }
@@ -108,7 +108,7 @@ public:
         const OUString& aName )
         throw( typename Collection<T>::NoSuchElementException_t,
                typename Collection<T>::WrappedTargetException_t,
-               typename Collection<T>::RuntimeException_t )
+               typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
     {
         if( hasItem( aName ) )
             return com::sun::star::uno::makeAny( getItem( aName ) );
@@ -118,14 +118,14 @@ public:
     }
 
     virtual Names_t SAL_CALL getElementNames()
-        throw( typename Collection<T>::RuntimeException_t )
+        throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
     {
         return getNames();
     }
 
     virtual sal_Bool SAL_CALL hasByName(
         const OUString& aName )
-        throw( typename Collection<T>::RuntimeException_t )
+        throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
     {
         return hasItem( aName ) ? sal_True : sal_False;
     }


More information about the Libreoffice-commits mailing list