diff options
Diffstat (limited to 'forms/source/component/Pattern.hxx')
-rw-r--r-- | forms/source/component/Pattern.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx index dfcdde01dd43..2f5d6bf57da0 100644 --- a/forms/source/component/Pattern.hxx +++ b/forms/source/component/Pattern.hxx @@ -45,7 +45,10 @@ public: DECLARE_DEFAULT_LEAF_XTOR( OPatternModel ); // ::com::sun::star::lang::XServiceInfo - IMPLEMENTATION_NAME(OPatternModel); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OPatternModel"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; // ::com::sun::star::io::XPersistObject @@ -81,7 +84,10 @@ public: OPatternControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory); // ::com::sun::star::lang::XServiceInfo - IMPLEMENTATION_NAME(OPatternControl); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OPatternControl"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; }; |