[Libreoffice-commits] core.git: vcl/win
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 5 15:25:44 UTC 2019
vcl/win/gdi/winlayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d5acf921efbd3170e487d4656e38c23c3f835094
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 5 09:43:29 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Dec 5 16:24:24 2019 +0100
loplugin:redundantpointerops (clang-cl)
Change-Id: Ibba507b6c2986a529ae75ad84781825f161f2be5
Reviewed-on: https://gerrit.libreoffice.org/84511
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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);
More information about the Libreoffice-commits
mailing list