summaryrefslogtreecommitdiff
path: root/forms/source/component/spinbutton.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/spinbutton.hxx')
-rw-r--r--forms/source/component/spinbutton.hxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx
index 9f79ce1d94a1..b9800274f063 100644
--- a/forms/source/component/spinbutton.hxx
+++ b/forms/source/component/spinbutton.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -33,7 +32,14 @@ namespace frm
// </properties>
public:
- DECLARE_DEFAULT_LEAF_XTOR( OSpinButtonModel );
+ OSpinButtonModel(
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
+ );
+ OSpinButtonModel(
+ const OSpinButtonModel* _pOriginal,
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory
+ );
+ virtual ~OSpinButtonModel() override;
protected:
// XServiceInfo
@@ -41,7 +47,9 @@ namespace frm
virtual ::css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XPersistObject
- DECLARE_XPERSISTOBJECT()
+ virtual OUString SAL_CALL getServiceName() override;
+ virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) override;
+ virtual void SAL_CALL read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) override;
// XCloneable
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
@@ -78,6 +86,4 @@ namespace frm
} // namespacefrm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */