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 /include | |
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 'include')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 2ac388323e04..0be5603898e2 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -27,7 +27,6 @@ #include <vcl/window.hxx> #include <vcl/combobox.hxx> #include <vcl/lstbox.hxx> -#include <vcl/spinfld.hxx> #include <svtools/brwbox.hxx> #include <svtools/brwhead.hxx> @@ -36,6 +35,7 @@ class Button; class CheckBox; +class SpinField; // EditBrowseBoxFlags (EBBF) @@ -256,8 +256,8 @@ namespace svt { public: SpinCellController(SpinField* pSpinField); - const SpinField& GetSpinWindow() const { return static_cast<const SpinField &>(GetWindow()); } - SpinField& GetSpinWindow() { return static_cast<SpinField &>(GetWindow()); } + const SpinField& GetSpinWindow() const; + SpinField& GetSpinWindow(); virtual void SetModified() override; virtual bool IsModified() const override; |