include/vbahelper/vbacollectionimpl.hxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9deb4ff1248bef48100fe3ceacc25ffa3b61e4da
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Sep 15 13:55:49 2014 +0200

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

diff --git a/include/vbahelper/vbacollectionimpl.hxx 
b/include/vbahelper/vbacollectionimpl.hxx
index a0b9041..2fbb617 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -281,13 +281,13 @@ public:
     ScVbaCollectionBase( const css::uno::Reference< ov::XHelperInterface >& 
xParent,   const css::uno::Reference< css::uno::XComponentContext >& xContext, 
const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess, bool 
bIgnoreCase = false ) : BaseColBase( xParent, xContext ), m_xIndexAccess( 
xIndexAccess ), mbIgnoreCase( bIgnoreCase ) { m_xNameAccess.set(m_xIndexAccess, 
css::uno::UNO_QUERY); }
 
     //XCollection
-    virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException)
+    virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) 
SAL_OVERRIDE
     {
         return m_xIndexAccess->getCount();
     }
 
     virtual css::uno::Any SAL_CALL Item(const css::uno::Any& Index1, const 
css::uno::Any& /*not processed in this base class*/)
-         throw (css::lang::IndexOutOfBoundsException, 
css::script::BasicErrorException, css::uno::RuntimeException)
+         throw (css::lang::IndexOutOfBoundsException, 
css::script::BasicErrorException, css::uno::RuntimeException) SAL_OVERRIDE
     {
         if ( Index1.getValueTypeClass() != css::uno::TypeClass_STRING )
         {
@@ -306,17 +306,17 @@ public:
     }
 
     // XDefaultMethod
-    OUString SAL_CALL getDefaultMethodName(  ) throw 
(css::uno::RuntimeException)
+    OUString SAL_CALL getDefaultMethodName(  ) throw 
(css::uno::RuntimeException) SAL_OVERRIDE
     {
         return OUString("Item");
     }
     // XEnumerationAccess
-    virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL 
createEnumeration() throw (css::uno::RuntimeException) = 0;
+    virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL 
createEnumeration() throw (css::uno::RuntimeException) SAL_OVERRIDE = 0;
 
     // XElementAccess
-    virtual css::uno::Type SAL_CALL getElementType() throw 
(css::uno::RuntimeException) = 0;
+    virtual css::uno::Type SAL_CALL getElementType() throw 
(css::uno::RuntimeException) SAL_OVERRIDE = 0;
     // XElementAccess
-    virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException)
+    virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException) 
SAL_OVERRIDE
     {
         return ( m_xIndexAccess->getCount() > 0 );
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to