diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-05 09:43:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-05 16:24:24 +0100 |
commit | d5acf921efbd3170e487d4656e38c23c3f835094 (patch) | |
tree | 07967fc2572aabf209c00cbc6cf01a73f651d3bd /vcl | |
parent | f31c3ebb60e4678eb09e377b638b368531df47dc (diff) |
loplugin:redundantpointerops (clang-cl)
Change-Id: Ibba507b6c2986a529ae75ad84781825f161f2be5
Reviewed-on: https://gerrit.libreoffice.org/84511
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-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 935aeb84d2a4..842c2f51d77d 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -211,7 +211,7 @@ bool WinFontInstance::CacheGlyphToAtlas(HDC hDC, HFONT hFont, int nGlyphIndex, if (!GlobalWinGlyphCache::get()->AllocateTexture(aElement, nBitmapWidth, nBitmapHeight)) return false; - if (!aDC->copyToTexture(*aElement.maTexture.get())) + if (!aDC->copyToTexture(*aElement.maTexture)) return false; maWinGlyphCache.PutDrawElementInCache(std::move(aElement), nGlyphIndex); |