From 2936c3ce0e10a92b808be02483c6d55089cdc208 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Feb 2020 09:36:04 +0000 Subject: use fwd decl of SpinField MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifea23e791ec53448a8591583f283b87430ef38c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88678 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svtools/inc/pch/precompiled_svt.hxx | 3 ++- svtools/source/brwbox/ebbcontrols.cxx | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx index a26b21753606..ac1920ba1b9b 100644 --- a/svtools/inc/pch/precompiled_svt.hxx +++ b/svtools/inc/pch/precompiled_svt.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-02-13 16:04:02 using: + Generated on 2020-02-14 09:32:48 using: ./bin/update_pch svtools svt --cutoff=4 --exclude:system --include:module --exclude:local If after updating build fails, use the following command to locate conflicting headers: @@ -101,6 +101,7 @@ #include #include #include +#include #include #include #include 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 #include +#include #include #include #include @@ -454,6 +455,15 @@ namespace svt GetSpinWindow().SetModifyHdl( LINK(this, SpinCellController, ModifyHdl) ); } + const SpinField& SpinCellController::GetSpinWindow() const + { + return static_cast(GetWindow()); + } + + SpinField& SpinCellController::GetSpinWindow() + { + return static_cast(GetWindow()); + } void SpinCellController::SetModified() { -- cgit