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 e6b577f2f3d5..7454b6f01792 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) override
+ virtual ::sal_Int32 SAL_CALL getCount() override
{
return SAL_N_ELEMENTS(spnDefColorTable8);
}
- virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
+ virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) override
{
if ( Index < 0 || Index >= getCount() )
throw lang::IndexOutOfBoundsException();
@@ -67,11 +67,11 @@ public:
}
// Methods XElementAccess
- virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override
+ virtual uno::Type SAL_CALL getElementType() override
{
return ::cppu::UnoType<sal_Int32>::get();
}
- virtual sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasElements() override
{
return true;
}