vcl/source/control/fixed.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 3d85419747a857522e8e0997724bb3f117eedc88 Author: Christopher Sherlock <chris.sherloc...@gmail.com> AuthorDate: Sun Dec 22 22:41:49 2024 +1100 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Feb 8 08:11:00 2025 +0100 vcl: ImplCalcPos() -> lcl_CalcPos() Change-Id: Idbfd93d8d8faf12c516fd34642ef8ca33c14d189 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179144 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 8263e8923056..2ef36925f918 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -46,8 +46,8 @@ constexpr auto FIXEDIMAGE_VIEW_STYLE = WB_3DLOOK | WB_TOP | WB_VCENTER | WB_BOTTOM | WB_SCALE; -static Point ImplCalcPos( WinBits nStyle, const Point& rPos, - const Size& rObjSize, const Size& rWinSize ) +static Point lcl_CalcPos(WinBits nStyle, const Point& rPos, + const Size& rObjSize, const Size& rWinSize) { tools::Long nX; tools::Long nY; @@ -697,7 +697,7 @@ void FixedBitmap::ImplDraw( OutputDevice* pDev, const Point& rPos, const Size& r pDev->DrawBitmapEx( rPos, rSize, maBitmap ); else { - Point aPos = ImplCalcPos( GetStyle(), rPos, maBitmap.GetSizePixel(), rSize ); + Point aPos = lcl_CalcPos( GetStyle(), rPos, maBitmap.GetSizePixel(), rSize ); pDev->DrawBitmapEx( aPos, maBitmap ); } } @@ -838,7 +838,7 @@ void FixedImage::ImplDraw( OutputDevice* pDev, pDev->DrawImage( rPos, rSize, *pImage, nStyle ); else { - Point aPos = ImplCalcPos( GetStyle(), rPos, pImage->GetSizePixel(), rSize ); + Point aPos = lcl_CalcPos( GetStyle(), rPos, pImage->GetSizePixel(), rSize ); pDev->DrawImage( aPos, *pImage, nStyle ); } }