diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 09:17:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 10:51:48 +0200 |
commit | 404a3c806ffdf094c2f4a95a722765fea132fad5 (patch) | |
tree | 57593f31569f94b70cf34f19a9dc7cc9b061b90a /vcl/win/gdi | |
parent | b74c4b7c675883e23bea9fd52682ae89d36539f6 (diff) |
loplugin:simplifyconstruct (clang-cl)
Change-Id: I08da288a88c2bce1d4250ec77f17bd483e6bc09c
Reviewed-on: https://gerrit.libreoffice.org/79911
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win/gdi')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 25949dc0692e..b67f191c0b47 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -432,7 +432,7 @@ bool WinSalGraphics::DrawCachedGlyphs(const GenericSalLayout& rLayout) rLayout.GetBoundRect(aRect); COLORREF color = GetTextColor(hDC); - Color salColor = Color(GetRValue(color), GetGValue(color), GetBValue(color)); + Color salColor(GetRValue(color), GetGValue(color), GetBValue(color)); WinOpenGLSalGraphicsImpl *pImpl = dynamic_cast<WinOpenGLSalGraphicsImpl*>(mpImpl.get()); if (!pImpl) |