summaryrefslogtreecommitdiff
path: root/forms/source/component/ComboBox.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/ComboBox.hxx')
-rw-r--r--forms/source/component/ComboBox.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index ad3ed573e5cb..b752c3240f21 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -84,7 +84,10 @@ public:
virtual void SAL_CALL reloaded( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- IMPLEMENTATION_NAME(OComboBoxModel);
+ OUString SAL_CALL getImplementationName()
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ { return OUString("com.sun.star.form.OComboBoxModel"); }
+
virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// UNO
@@ -144,7 +147,10 @@ public:
OComboBoxControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext);
// XServiceInfo
- IMPLEMENTATION_NAME(OComboBoxControl);
+ OUString SAL_CALL getImplementationName()
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ { return OUString("com.sun.star.form.OComboBoxControl"); }
+
virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};