summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-14 09:36:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-14 20:54:50 +0100
commit2936c3ce0e10a92b808be02483c6d55089cdc208 (patch)
tree03e136331fe3c43a5f140d6ab1cf966a7c35e9b3 /svtools
parentbce14e97a6dad7686643d094995433c77e4aee7e (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')
-rw-r--r--svtools/inc/pch/precompiled_svt.hxx3
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx10
2 files changed, 12 insertions, 1 deletions
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 <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/builder.hxx>
+#include <vcl/button.hxx>
#include <vcl/checksum.hxx>
#include <vcl/combobox.hxx>
#include <vcl/commandevent.hxx>
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()
{