summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/win/gdi/winlayout.cxx2
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);