vcl/source/control/spinfld.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit ac07c380ac24557a0c383e68728bded571df1281 Author: Christopher Sherlock <chris.sherloc...@gmail.com> AuthorDate: Thu Dec 26 01:30:15 2024 +1100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Feb 18 09:29:01 2025 +0100 vcl: rename local functions in spinfld.cxx Change-Id: Ifa4a8d7c0e660c125733fa28912eef147fa4aa81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179378 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 2bdbdad66c75..b426934572bd 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -30,7 +30,7 @@ namespace { -void ImplGetSpinbuttonValue(vcl::Window* pWin, +void lcl_GetSpinbuttonValue(vcl::Window* pWin, const tools::Rectangle& rUpperRect, const tools::Rectangle& rLowerRect, bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled, bool bHorz, SpinbuttonValue& rValue ) @@ -69,7 +69,7 @@ void ImplGetSpinbuttonValue(vcl::Window* pWin, rValue.mnLowerPart = bHorz ? ControlPart::ButtonRight : ControlPart::ButtonDown; } -bool ImplDrawNativeSpinfield(vcl::RenderContext& rRenderContext, vcl::Window const * pWin, const SpinbuttonValue& rSpinbuttonValue) +bool lcl_DrawNativeSpinfield(vcl::RenderContext& rRenderContext, vcl::Window const * pWin, const SpinbuttonValue& rSpinbuttonValue) { bool bNativeOK = false; @@ -137,7 +137,7 @@ bool ImplDrawNativeSpinfield(vcl::RenderContext& rRenderContext, vcl::Window con return bNativeOK; } -bool ImplDrawNativeSpinbuttons(vcl::RenderContext& rRenderContext, const SpinbuttonValue& rSpinbuttonValue) +bool lcl_DrawNativeSpinbuttons(vcl::RenderContext& rRenderContext, const SpinbuttonValue& rSpinbuttonValue) { bool bNativeOK = false; @@ -183,14 +183,14 @@ void ImplDrawSpinButton(vcl::RenderContext& rRenderContext, vcl::Window* pWindow } SpinbuttonValue aValue; - ImplGetSpinbuttonValue(pWindow, rUpperRect, rLowerRect, + lcl_GetSpinbuttonValue(pWindow, rUpperRect, rLowerRect, bUpperIn, bLowerIn, bUpperEnabled, bLowerEnabled, bHorz, aValue); if( aControl == ControlType::Spinbox ) - bNativeOK = ImplDrawNativeSpinfield(rRenderContext, pWindow, aValue); + bNativeOK = lcl_DrawNativeSpinfield(rRenderContext, pWindow, aValue); else if( aControl == ControlType::SpinButtons ) - bNativeOK = ImplDrawNativeSpinbuttons(rRenderContext, aValue); + bNativeOK = lcl_DrawNativeSpinbuttons(rRenderContext, aValue); } if (bNativeOK)