summaryrefslogtreecommitdiff
path: root/forms/source/component/File.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/File.hxx')
-rw-r--r--forms/source/component/File.hxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx
index 651d830ace92..6ef7532aa842 100644
--- a/forms/source/component/File.hxx
+++ b/forms/source/component/File.hxx
@@ -17,10 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
+#pragma once
#include <FormComponent.hxx>
+#include <comphelper/interfacecontainer3.hxx>
namespace frm
@@ -30,14 +30,21 @@ class OFileControlModel
:public OControlModel
,public css::form::XReset
{
- ::comphelper::OInterfaceContainerHelper2 m_aResetListeners;
+ ::comphelper::OInterfaceContainerHelper3<css::form::XResetListener> m_aResetListeners;
OUString m_sDefaultValue;
protected:
virtual css::uno::Sequence< css::uno::Type> _getTypes() override;
public:
- DECLARE_DEFAULT_LEAF_XTOR( OFileControlModel );
+ OFileControlModel(
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
+ );
+ OFileControlModel(
+ const OFileControlModel* _pOriginal,
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
+ );
+ virtual ~OFileControlModel() override;
DECLARE_UNO3_AGG_DEFAULTS(OFileControlModel, OControlModel)
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) override;
@@ -86,6 +93,4 @@ protected:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */