diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 10:01:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-04 12:06:18 +0000 |
commit | 071dcb5f6aaf7179619a251933dec8bbdc6f3cd8 (patch) | |
tree | 920b7feebb188fa679344585a76823f79502f197 /vcl/inc | |
parent | 9a4b0beaa500320316cbb9147a3300fa2258e217 (diff) |
loplugin:redundantinline (clang-cl)
Change-Id: I03a19b599005f6ef25040889a1e1802445ebf430
Reviewed-on: https://gerrit.libreoffice.org/36063
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/win/winlayout.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |