summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-15 12:13:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-15 12:13:47 +0200
commita8c8f92d3de7eab7fc385ca4d630487e2d10ce0e (patch)
treec3740256397abdb461cdd45fbdfe6c66c5f3a94b /include/vbahelper
parent5ac2c503c04282b3b456ccb8bf39d886e568d1fa (diff)
Mark template member fns that are supposed to override as SAL_OVERRIDE
Change-Id: Ifb5798a9f01961dd916857a0dca44a3fd8587ec4
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbahelperinterface.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx
index 2650ca056285..2c9710090d34 100644
--- a/include/vbahelper/vbahelperinterface.hxx
+++ b/include/vbahelper/vbahelperinterface.hxx
@@ -67,13 +67,13 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() = 0;
// XHelperInterface Methods
- virtual ::sal_Int32 SAL_CALL getCreator() throw (css::script::BasicErrorException, css::uno::RuntimeException)
+ virtual ::sal_Int32 SAL_CALL getCreator() throw (css::script::BasicErrorException, css::uno::RuntimeException) SAL_OVERRIDE
{
return 0x53756E4F;
}
- virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent( ) throw (css::script::BasicErrorException, css::uno::RuntimeException) { return mxParent; }
+ virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent( ) throw (css::script::BasicErrorException, css::uno::RuntimeException) SAL_OVERRIDE { return mxParent; }
- virtual css::uno::Any SAL_CALL Application( ) throw (css::script::BasicErrorException, css::uno::RuntimeException) {
+ virtual css::uno::Any SAL_CALL Application( ) throw (css::script::BasicErrorException, css::uno::RuntimeException) SAL_OVERRIDE {
// The application could certainly be passed around in the context - seems
// to make sense
css::uno::Reference< css::container::XNameAccess > xNameAccess( mxContext, css::uno::UNO_QUERY_THROW );
@@ -81,8 +81,8 @@ public:
}
// XServiceInfo Methods
- virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException) { return getServiceImplName(); }
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException)
+ virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException) SAL_OVERRIDE { return getServiceImplName(); }
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException) SAL_OVERRIDE
{
css::uno::Sequence< OUString > sServices = getSupportedServiceNames();
const OUString* pStart = sServices.getConstArray();
@@ -92,7 +92,7 @@ public:
return sal_True;
return sal_False;
}
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException)
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException) SAL_OVERRIDE
{
css::uno::Sequence< OUString > aNames = getServiceNames();
return aNames;