include/vcl/toolkit/spin.hxx   |    2 --
 vcl/source/control/spinbtn.cxx |   13 ++++---------
 2 files changed, 4 insertions(+), 11 deletions(-)

New commits:
commit 58cc936ec70ae352f9574167ffe32144e7b7933f
Author:     Christopher Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Wed Dec 25 20:25:36 2024 +1100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Feb 10 08:17:10 2025 +0100

    vcl: remove SpinButton::ImplInit()
    
    Change-Id: I865d1c46e210c92fa9e4e5cdb4d5272640ce41c8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179363
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Tested-by: Jenkins

diff --git a/include/vcl/toolkit/spin.hxx b/include/vcl/toolkit/spin.hxx
index bc1e14109fda..13443e8e5ba2 100644
--- a/include/vcl/toolkit/spin.hxx
+++ b/include/vcl/toolkit/spin.hxx
@@ -48,8 +48,6 @@ private:
     tools::Long            mnValueStep;
 
     SAL_DLLPRIVATE tools::Rectangle* ImplFindPartRect( const Point& rPt );
-    using Window::ImplInit;
-    SAL_DLLPRIVATE void       ImplInit( vcl::Window* pParent, WinBits nStyle );
     DECL_DLLPRIVATE_LINK( ImplTimeout, Timer*, void );
 
 public:
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index d56138c6cde4..6be8820752b4 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -24,7 +24,10 @@
 
 #include <spin.hxx>
 
-void SpinButton::ImplInit( vcl::Window* pParent, WinBits nStyle )
+SpinButton::SpinButton( vcl::Window* pParent, WinBits nStyle )
+    : Control(WindowType::SPINBUTTON)
+    , maRepeatTimer("SpinButton maRepeatTimer")
+    , mbUpperIsFocused(false)
 {
     mbUpperIn     = false;
     mbLowerIn     = false;
@@ -49,14 +52,6 @@ void SpinButton::ImplInit( vcl::Window* pParent, WinBits 
nStyle )
     Control::ImplInit( pParent, nStyle, nullptr );
 }
 
-SpinButton::SpinButton( vcl::Window* pParent, WinBits nStyle )
-    : Control(WindowType::SPINBUTTON)
-    , maRepeatTimer("SpinButton maRepeatTimer")
-    , mbUpperIsFocused(false)
-{
-    ImplInit(pParent, nStyle);
-}
-
 IMPL_LINK(SpinButton, ImplTimeout, Timer*, pTimer, void)
 {
     if (pTimer->GetTimeout() == 
static_cast<sal_uInt64>(MouseSettings::GetButtonStartRepeat()))

Reply via email to