vcl/win/gdi/winlayout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d5acf921efbd3170e487d4656e38c23c3f835094
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Dec 5 09:43:29 2019 +0100
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to