diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-02 16:57:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-05 21:35:55 +0200 |
commit | 9202793ed81c5568f6789504335446b97e8087da (patch) | |
tree | 6a80917116dccbc81c286bc619bd4e9a71892fa5 /svx/source/inc | |
parent | 0c4336e83fe86addd86814eebc33e7f5b8ddc1ce (diff) |
loosen requirement that createField return something derived from SpinField
Change-Id: I2f15717d2e96f21c3fcbbcfd9eda6544daf2a0a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97984
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/gridcell.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index 2491152cbf0d..f63f2466b720 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -545,7 +545,7 @@ public: virtual ::svt::CellControllerRef CreateController() const override; protected: - virtual VclPtr<SpinField> createField( + virtual VclPtr<Control> createField( vcl::Window* _pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet >& _rxModel @@ -566,7 +566,7 @@ protected: virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel ) override; // DbSpinField - virtual VclPtr<SpinField> createField( + virtual VclPtr<Control> createField( vcl::Window* _pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet >& _rxModel @@ -590,7 +590,7 @@ protected: virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel ) override; // DbSpinField - virtual VclPtr<SpinField> createField( + virtual VclPtr<Control> createField( vcl::Window* _pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet >& _rxModel @@ -618,7 +618,7 @@ protected: virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel ) override; // DbSpinField - virtual VclPtr<SpinField> createField( + virtual VclPtr<Control> createField( vcl::Window* _pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet >& _rxModel @@ -642,7 +642,7 @@ protected: virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel ) override; // DbSpinField - virtual VclPtr<SpinField> createField( + virtual VclPtr<Control> createField( vcl::Window* _pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet >& _rxModel |