summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapalette.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapalette.cxx')
-rw-r--r--sc/source/ui/vba/vbapalette.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/vba/vbapalette.cxx b/sc/source/ui/vba/vbapalette.cxx
index 11711defe723..ea792ce4d07a 100644
--- a/sc/source/ui/vba/vbapalette.cxx
+++ b/sc/source/ui/vba/vbapalette.cxx
@@ -54,12 +54,12 @@ public:
DefaultPalette(){}
// Methods XIndexAccess
- virtual ::sal_Int32 SAL_CALL getCount() throw (uno::RuntimeException, std::exception)
+ virtual ::sal_Int32 SAL_CALL getCount() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return sizeof(spnDefColorTable8) / sizeof(spnDefColorTable8[0]);
}
- virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+ virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE
{
if ( Index < 0 || Index >= getCount() )
throw lang::IndexOutOfBoundsException();
@@ -67,11 +67,11 @@ public:
}
// Methods XElementAcess
- virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception)
+ virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return ::getCppuType( (sal_Int32*)0 );
}
- virtual ::sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception)
+ virtual ::sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return sal_True;
}