diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:02:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:57:26 +0200 |
commit | 72f36adb93d24a3da8868dad128ab2eca0124fda (patch) | |
tree | 06baca9f873aa59e16c5f3612f5a464c2e0eba46 /vcl/source/window/window.cxx | |
parent | bff8cd3d52223002263dcb8c09758c4fc753b6e3 (diff) |
loplugin:constparams in vcl
Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4
Reviewed-on: https://gerrit.libreoffice.org/40116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r-- | vcl/source/window/window.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 9f31fc185e29..6efe34aa1899 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1179,7 +1179,7 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p GetAccessibleParentWindow()->CallEventListeners( VclEventId::WindowChildCreated, this ); } -void Window::ImplInitAppFontData( vcl::Window* pWindow ) +void Window::ImplInitAppFontData( vcl::Window const * pWindow ) { ImplSVData* pSVData = ImplGetSVData(); long nTextHeight = pWindow->GetTextHeight(); @@ -1349,7 +1349,7 @@ void Window::ImplInitResolutionSettings() } } -void Window::ImplPointToLogic(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const +void Window::ImplPointToLogic(vcl::RenderContext const & rRenderContext, vcl::Font& rFont) const { Size aSize = rFont.GetFontSize(); @@ -1369,7 +1369,7 @@ void Window::ImplPointToLogic(vcl::RenderContext& rRenderContext, vcl::Font& rFo rFont.SetFontSize(aSize); } -void Window::ImplLogicToPoint(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const +void Window::ImplLogicToPoint(vcl::RenderContext const & rRenderContext, vcl::Font& rFont) const { Size aSize = rFont.GetFontSize(); @@ -2164,7 +2164,7 @@ void Window::SetPointFont(vcl::RenderContext& rRenderContext, const vcl::Font& r rRenderContext.SetFont(aFont); } -vcl::Font Window::GetPointFont(vcl::RenderContext& rRenderContext) const +vcl::Font Window::GetPointFont(vcl::RenderContext const & rRenderContext) const { vcl::Font aFont = rRenderContext.GetFont(); ImplLogicToPoint(rRenderContext, aFont); |