diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-14 09:36:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-14 20:54:50 +0100 |
commit | 2936c3ce0e10a92b808be02483c6d55089cdc208 (patch) | |
tree | 03e136331fe3c43a5f140d6ab1cf966a7c35e9b3 /svtools/source | |
parent | bce14e97a6dad7686643d094995433c77e4aee7e (diff) |
use fwd decl of SpinField
Change-Id: Ifea23e791ec53448a8591583f283b87430ef38c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88678
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/ebbcontrols.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 822c6413e241..e928fef8bd05 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -18,6 +18,7 @@ #include <svtools/editbrowsebox.hxx> #include <vcl/button.hxx> +#include <vcl/spinfld.hxx> #include <vcl/fmtfield.hxx> #include <vcl/xtextedt.hxx> #include <vcl/textview.hxx> @@ -454,6 +455,15 @@ namespace svt GetSpinWindow().SetModifyHdl( LINK(this, SpinCellController, ModifyHdl) ); } + const SpinField& SpinCellController::GetSpinWindow() const + { + return static_cast<const SpinField &>(GetWindow()); + } + + SpinField& SpinCellController::GetSpinWindow() + { + return static_cast<SpinField &>(GetWindow()); + } void SpinCellController::SetModified() { |