diff options
Diffstat (limited to 'forms/source/component/ComboBox.hxx')
-rw-r--r-- | forms/source/component/ComboBox.hxx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 3fc0240d9483..dd2a7b6ea4c3 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX +#pragma once #include <memory> #include <FormComponent.hxx> @@ -55,7 +54,14 @@ class OComboBoxModel final virtual css::uno::Sequence< css::uno::Type> _getTypes() override; public: - DECLARE_DEFAULT_LEAF_XTOR( OComboBoxModel ); + OComboBoxModel( + const css::uno::Reference< css::uno::XComponentContext>& _rxFactory + ); + OComboBoxModel( + const OComboBoxModel* _pOriginal, + const css::uno::Reference< css::uno::XComponentContext>& _rxFactory + ); + virtual ~OComboBoxModel() override; virtual void SAL_CALL disposing() override; @@ -70,7 +76,7 @@ public: // XServiceInfo OUString SAL_CALL getImplementationName() override - { return "com.sun.star.form.OComboBoxModel"; } + { return u"com.sun.star.form.OComboBoxModel"_ustr; } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; @@ -127,7 +133,7 @@ public: // XServiceInfo OUString SAL_CALL getImplementationName() override - { return "com.sun.star.form.OComboBoxControl"; } + { return u"com.sun.star.form.OComboBoxControl"_ustr; } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; @@ -136,6 +142,4 @@ public: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |