diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-17 12:25:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-17 12:25:11 +0100 |
commit | 3099c70b11c7e5b80fe4dbe3dc99171fb38c6fc2 (patch) | |
tree | 63699b525800b2c6708e90b817853bb60be5f6d8 /forms/source/component/ImageButton.hxx | |
parent | 5229726b4d4e7d76f410d221f8f8cd8abcfd5a19 (diff) |
Fix various XServiceInfo implementations
...to match what is recorded in the .component files
Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
Diffstat (limited to 'forms/source/component/ImageButton.hxx')
-rw-r--r-- | forms/source/component/ImageButton.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx index ee728e81fd8f..1d9dd1abd3cd 100644 --- a/forms/source/component/ImageButton.hxx +++ b/forms/source/component/ImageButton.hxx @@ -34,7 +34,10 @@ public: DECLARE_DEFAULT_LEAF_XTOR( OImageButtonModel ); // ::com::sun::star::lang::XServiceInfo - IMPLEMENTATION_NAME(OImageButtonModel); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OImageButtonModel"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; // ::com::sun::star::io::XPersistObject @@ -63,7 +66,10 @@ public: OImageButtonControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory); // XServiceInfo - IMPLEMENTATION_NAME(OImageButtonControl); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OImageButtonControl"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; // UNO Binding |