From 3f226429e3a63083f47e5cb33123dee7ba2d0728 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 31 Aug 2017 12:11:20 +0200 Subject: loplugin:constparams: vcl (clang-cl) Change-Id: Iabcbb6e09616a28c0d8927d11af3da47e48cbd90 --- vcl/inc/win/DWriteTextRenderer.hxx | 2 +- vcl/inc/win/salgdi.h | 2 +- vcl/inc/win/winlayout.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/inc/win') diff --git a/vcl/inc/win/DWriteTextRenderer.hxx b/vcl/inc/win/DWriteTextRenderer.hxx index e87ef5fe977b..c95fe47eab0e 100755 --- a/vcl/inc/win/DWriteTextRenderer.hxx +++ b/vcl/inc/win/DWriteTextRenderer.hxx @@ -61,7 +61,7 @@ public: bool BindFont(HDC hDC) /*override*/; bool ReleaseFont() /*override*/; - std::vector GetGlyphInkBoxes(uint16_t * pGid, uint16_t * pGidEnd) const /*override*/; + std::vector GetGlyphInkBoxes(uint16_t const * pGid, uint16_t const * pGidEnd) const /*override*/; ID2D1RenderTarget * GetRenderTarget() const { return mpRT; } IDWriteFontFace * GetFontFace() const { return mpFontFace; } float GetEmHeight() const { return mlfEmHeight; } diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index a1076e0c7d1e..acc64e0ac17c 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -205,7 +205,7 @@ public: HWND gethWnd(); - HFONT ImplDoSetFont( FontSelectPattern* i_pFont, HFONT& o_rOldFont ); + HFONT ImplDoSetFont( FontSelectPattern const * i_pFont, HFONT& o_rOldFont ); public: explicit WinSalGraphics(WinSalGraphics::Type eType, bool bScreen, HWND hWnd, diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx index 9ab63fb311ee..343b5671fcad 100644 --- a/vcl/inc/win/winlayout.hxx +++ b/vcl/inc/win/winlayout.hxx @@ -146,7 +146,7 @@ public: class WinFontInstance : public LogicalFontInstance { public: - explicit WinFontInstance( FontSelectPattern& ); + explicit WinFontInstance( FontSelectPattern const & ); virtual ~WinFontInstance() override; private: -- cgit