summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-15 13:55:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-15 13:56:02 +0200
commit9deb4ff1248bef48100fe3ceacc25ffa3b61e4da (patch)
tree4108d4d5f45c222a9b9292ebddf8192a5460be7a /include/vbahelper
parent4a96ee8eb29dd04ca553cbf150117789eeea1c9c (diff)
Mark template member fns that are supposed to override as SAL_OVERRIDE
Change-Id: I712f352635a2e258bfaf60dc30ed764666a51f15
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index a0b90414786d..2fbb617686cf 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 );
}