summaryrefslogtreecommitdiff
path: root/forms/source/component
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-11-07 10:25:04 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-11-07 11:17:48 +0100
commita2222061223af8946a9ddb6d52f62c912f892356 (patch)
tree75a81b063ea56bd7d657f3bd5f92b5519989da4f /forms/source/component
parent7a61256f9e68201ef7b331ca3e1b4c3302104631 (diff)
Replace some macros in forms part 13
Remove DECLARE_DEFAULT_CLONING + IMPLEMENT_DEFAULT_TYPED_CLONING + DECLARE_XPERSISTOBJECT Change-Id: Ib874cadcfd30c3ac9e2d12036482868c19a2d98b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124807 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component')
-rw-r--r--forms/source/component/scrollbar.hxx4
-rw-r--r--forms/source/component/spinbutton.hxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx
index 356d101be40e..574faaff38c7 100644
--- a/forms/source/component/scrollbar.hxx
+++ b/forms/source/component/scrollbar.hxx
@@ -39,7 +39,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;
diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx
index 2579c322d733..debbfc72d286 100644
--- a/forms/source/component/spinbutton.hxx
+++ b/forms/source/component/spinbutton.hxx
@@ -40,7 +40,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;