From 071dcb5f6aaf7179619a251933dec8bbdc6f3cd8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 4 Apr 2017 10:01:58 +0200 Subject: loplugin:redundantinline (clang-cl) Change-Id: I03a19b599005f6ef25040889a1e1802445ebf430 Reviewed-on: https://gerrit.libreoffice.org/36063 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/inc/win/winlayout.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/inc') diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx index eb1004ca142c..19b5e0f9d9f8 100644 --- a/vcl/inc/win/winlayout.hxx +++ b/vcl/inc/win/winlayout.hxx @@ -217,7 +217,7 @@ public: SalGraphics &rGraphics, HDC hDC) override; - inline bool BindDC(HDC hDC, tools::Rectangle const & rRect = tools::Rectangle(0, 0, 0, 0)) { + bool BindDC(HDC hDC, tools::Rectangle const & rRect = tools::Rectangle(0, 0, 0, 0)) { RECT const rc = { rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom() }; return SUCCEEDED(mpRT->BindDC(hDC, &rc)); } @@ -230,12 +230,12 @@ public: IDWriteFontFace * GetFontFace() const { return mpFontFace; } float GetEmHeight() const { return mlfEmHeight; } - inline HRESULT CreateRenderTarget() { + HRESULT CreateRenderTarget() { if (mpRT) mpRT->Release(); mpRT = nullptr; return mpD2DFactory->CreateDCRenderTarget(&mRTProps, &mpRT); } - inline bool Ready() const { return mpGdiInterop && mpRT; } + bool Ready() const { return mpGdiInterop && mpRT; } private: static void CleanupModules(); -- cgit